.premium-banner-bordered-box {
    border: 2px solid #40a4aa; /* Border color */
    padding: 20px;
    position: relative;
}

.premium-banner-label {
    position: absolute;
    top: -12px; /* Position above the border */
    left: 10px;
    background-color: white; /* To create the effect of cutting into the border */
    padding: 0 10px;
    font-weight: bold;
    color: #40a4aa; /* Text color */
    display: flex;
    align-items: center;
}

.premium-banner-label .icon {
    margin-left: 5px; /* Space between text and icon */
}

.premium-banner-crown-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    background: url("/static/image/crown.fbe2b1019783.png") no-repeat center center;
    background-size: contain; /* Make sure the icon fits properly */
}

.gram-text, .gram-text-v2 {
    border-radius: 23px !important;
    padding-top: 3px !important;
    padding-right: 5px !important;
    padding-left: 5px !important;
}

/* ============ Course Module Tags ============ */
.course-module-tag {
    display: inline-block;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.course-module-tag:hover {
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.course-module-tag--1 {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}
.course-module-tag--1:hover {
    background: linear-gradient(135deg, #c8e6c9 0%, #a5d6a7 100%);
    color: #1b5e20;
}

.course-module-tag--2 {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1565c0;
    border: 1px solid #90caf9;
}
.course-module-tag--2:hover {
    background: linear-gradient(135deg, #bbdefb 0%, #90caf9 100%);
    color: #0d47a1;
}

.course-module-tag--3 {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    color: #e65100;
    border: 1px solid #ffcc80;
}
.course-module-tag--3:hover {
    background: linear-gradient(135deg, #ffe0b2 0%, #ffcc80 100%);
    color: #bf360c;
}

.course-module-tag--4 {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 100%);
    color: #c2185b;
    border: 1px solid #f48fb1;
}
.course-module-tag--4:hover {
    background: linear-gradient(135deg, #f8bbd9 0%, #f48fb1 100%);
    color: #880e4f;
}