* {
    font-style: normal !important;
}

.h-280 {
    height: 280px !important;
}

.pagination-modern {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination-modern .page-link {
    width: 38px;
    height: 38px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px !important;
    background: #faf8f4 !important;
    border: 1.5px solid #ded7cb !important;
    color: #72685e !important;
    font-size: .82rem;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    text-decoration: none !important;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.pagination-modern .page-link i {
    color: inherit;
}

.pagination-modern .page-item.active .page-link {
    background: #1f1916 !important;
    border-color: #1f1916 !important;
    color: #fff !important;
}

.pagination-modern .page-item:not(.active):not(.disabled) .page-link:hover {
    background: #fff !important;
    border-color: #cfc6bb !important;
    color: #1f1916 !important;
}

.pagination-modern .page-item.disabled .page-link {
    opacity: .45;
    pointer-events: none;
}

.hero-section-podcast {
    background-image: url('../assets/home_assets/podcast-hero.svg'), linear-gradient(180deg, var(--Foundation-Blue-blue-500, #5c5bc0) 0%, var(--Foundation-Blue-blue-800, #33326a) 100%);
    background-repeat: no-repeat;
    background-size: auto;
    background-position: right;
}

.hero-section-current-affairs {
    background-image: url('../assets/home_assets/current-affairs-hero-img.svg'), linear-gradient(180deg, var(--Foundation-Blue-blue-500, #5c5bc0) 0%, var(--Foundation-Blue-blue-800, #33326a) 100%);
    background-repeat: no-repeat;
    background-size: auto;
    background-position: right;
}


.hero-section-assesment {
    background-image: url(../assets/page-assets/assesment_banner_image.svg), linear-gradient(180deg, var(--Foundation-Blue-blue-500, #5c5bc0) 0%, var(--Foundation-Blue-blue-800, #33326a) 100%);
    background-repeat: no-repeat;
    background-size: auto;
    background-position: right;
}

.hero-section-test {
    background-image: url(../assets/page-assets/assesment.svg), linear-gradient(180deg, var(--Foundation-Blue-blue-500, #5c5bc0) 0%, var(--Foundation-Blue-blue-800, #33326a) 100%);
    background-repeat: no-repeat;
    background-size: auto;
    background-position: right;
}

.grey-gradient {
    background: linear-gradient(180deg, #eff6ff, #faf5ff) !important;
}

.badge-warning {
    background-color: oklch(98.7% 0.026 102.212);
    color: #ffc107;
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
    font-size: 0.8rem;
    border: 1px #ffc107 solid;
}

.otp-input {
    width: 50px;
    height: 50px;
    font-size: 24px;
    font-weight: bold;
}

.otp-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .25);
}

.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.wishlist-btn:hover {
    background: white;
    transform: scale(1.1);
}

.wishlist-btn i {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.wishlist-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.preview-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 1.8em;
}

.single-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.desc-wrapper {
    position: relative;
    cursor: pointer;
}

.continue-btn {
    display: block;
    text-align: center;
    padding: 8px;
    background: #5c5bc0;
    color: white;
    border-radius: 6px;
    text-decoration: none;
}

.continue-btn.disabled {
    background: #d5d5d5;
    color: #888;
    pointer-events: none;
}

.course-item,
.course-card-modern,
.course-card-modern .p-3,
.row,
#courseContainer {
    overflow: visible !important;
    position: relative;
}

/* Video.js custom styling */
.video-js {
    width: 100%;
    height: 460px;
}

.video-js .vjs-big-play-button {
    border-radius: 50%;
    width: 2em;
    height: 2em;
    line-height: 2em;
    border: none;
}

#commentsList {
    max-height: 350px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.chat-row {
    display: flex;
    margin-bottom: 10px;
}

.chat-row.mine {
    justify-content: flex-end;
}

.chat-row.theirs {
    justify-content: flex-start;
}

.chat-bubble {
    max-width: 70%;
    padding: 10px 14px;
    border-radius: 14px;
    background: #f1f1f1;
}

.chat-row.mine .chat-bubble {
    background: #d0e8ff;
}

.chat-name {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.chat-message {
    font-size: 1rem;
    margin-bottom: 4px;
}

.chat-time {
    font-size: 0.75rem;
    color: gray;
}

#transactionsTable thead th {
    background-color: #f8f9fa;
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
}

#transactionsTable tbody tr:hover {
    background-color: #f8f9fa;
}

.premium-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #facc15;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
    gap: 3px;
    border-radius: 10px;
}



/*.badge {
    padding: 0.5em 0.75em;
    font-size: 0.875rem;
}

.badge-warning {
    background-color: #ffc107;
    color: #000;
}

.badge-success {
    background-color: #28a745;
    color: #fff;
}

.badge-danger {
    background-color: #dc3545;
    color: #fff;
}

.badge-secondary {
    background-color: #6c757d;
    color: #fff;
}*/

table.dataTable {
    clear: both;
    margin-top: 1.5rem !important;
    margin-bottom: 6px !important;
    max-width: none !important;
    border-collapse: separate !important;
    border-spacing: 0;
}

div.dataTables_wrapper div.dt-row {
    position: relative;
    margin-top: 10px !important;
}

.nav-tabs .nav-link {
    color: #495057;
    border: none;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    padding: 15px 20px;
    font-weight: 600;
}

.nav-tabs .nav-link.active {
    color: #5c5bc0;
    border-bottom: 3px solid #5c5bc0;
    background-color: #ebebff;
    font-weight: 600;
    border-radius: 0;
}

.spinner-border {
    width: 1rem;
    height: 1rem;
}

.form-control.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-valid {
    border-color: #198754;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.address-card {
    border-left: 4px solid #7366ff;
    transition: all 0.3s ease;
}

.address-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.address-card.marked-for-delete {
    border-left-color: #dc3545;
    opacity: 0.6;
    background-color: #f8d7da;
}

.form-label.fw-bold {
    font-size: 0.9rem;
    color: #2c323f;
}

.error-msg {
    font-size: 0.85rem;
    display: block;
    margin-top: 0.25rem;
}

.wishlist-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wishlist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.error-icon {
    position: relative;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-10px);
    }

    75% {
        transform: translateX(10px);
    }
}

.icon-circle-error {
    width: 80px;
    height: 80px;
    border: 3px solid #dc3545;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulseError 1.5s ease-in-out infinite;
}

@keyframes pulseError {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.success-checkmark {
    position: relative;
    animation: scaleIn 0.5s ease-in-out;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.icon-circle-success {
    width: 80px;
    height: 80px;
    border: 3px solid;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.user-name-link {
    background-color: #f8f9fa;
    padding: 8px 14px;
    border-radius: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    display: inline-block;
}

.user-name-link:hover {
    background-color: #e9ecef;
    color: #000;
    text-decoration: none;
    transform: translateY(-1px);
}

.dropdown-menu {
    border-radius: 10px;
    font-size: 14px;
}

.dropdown-toggle {
    background: transparent;
}

.user-menu {
    position: relative;
}

.user-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #0d6efd;
}

.dropdown-menu-layout {
    min-width: 250px;
}

.dropdown-header {
    background-color: #f8f9fa;
    padding: 1rem;
}

.user-info {
    text-align: center;
}

.user-info strong {
    display: block;
    font-size: 1rem;
    color: #212529;
}

.user-info .text-muted {
    font-size: 0.875rem;
}

.user-badge {
    display: inline-block;
    margin-top: 0.5rem;
}

.nav-link-layout.active {
    font-weight: 600;
    color: #0d6efd !important;
}

.quiz-question {
    display: none;
}

.quiz-question.active {
    display: block;
}

.icon-circle-quiz {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}


.progress-bar {
    transition: width 0.3s ease;
}

.base-button:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

.base-gradient {
    background: linear-gradient(90deg, var(--primary-color) 50%, var(--primary-dark-color) 100%) !important;
}

.h-34 {
    height: 34%;
}

.light-bagde {
    background: rgba(255, 255, 255, 0.37);
    color: #FFF;
    padding: 0.25rem 0.5rem;
    border-radius: 25px;
    font-size: 0.7rem;
    /* font-weight: 600; */
    opacity: 0.;
    border: 1px solid #5c5bc0;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user_info:active {
    background: transparent !important;
    color: black;
}

.progress-circle {
    width: 100px;
    height: 100px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-svg {
    height: 100%;
    transform: rotate(-90deg);
}

.progress-svg circle {
    fill: none;
    stroke-width: 5;
    cx: 50;
    cy: 50;
    r: 25;
}

.bg {
    stroke: #d7daf7;
}

.meter {
    stroke: var(--primary-color);
    stroke-linecap: round;
    stroke-dasharray: 264;
    /* 2?r ? 2 � 3.14 � 42 */
    stroke-dashoffset: 264;
    transition: stroke-dashoffset 0.5s ease;
}

.search_icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: gray;
}

.border-dashed-light {
    border: 1px dashed #ccc !important;
}

.required-asterisk {
    color: #dc3545;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
}

.position-unset {
    position: unset !important;
}

.modal-width {
    width: 60% !important;
}

.base-light-gradient {
    background: linear-gradient(90deg, var(--primary-color) 50%, rgb(180, 180, 226) 100%) !important;
}

.w-365px {
    width: 365px;
}

.terms-section {
    margin-bottom: 2.5rem;
    background: white;
    padding: 2rem;
    border-radius: 0.8rem;
    box-shadow: 0 0.2rem 1.2rem rgba(0, 0, 0, 0.05);
    /* border-left: 0.4rem solid var(--blue-500); */
    margin: auto;
}

/* Force dropdown hover behavior only for the profile dropdown */
/* Show dropdown on hover */
.user-name-container:hover .dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Hidden by default */
.user-name-container .dropdown-menu {
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
    right: 3px;
    top: 75px;
}

outer-tab.active {
    color: var(--primary-color) !important;
}

/*Responsive CSS*/
@media screen and (max-width: 768px) {
    .modal-width {
        width: 100% !important;
    }
}

@media screen and (max-width: 767px) {

    .hero-section-podcast,
    .hero-section-resources,
    .hero-section-assesment,
    .hero-section-test,
    .hero-section-current-affairs {
        background-image: linear-gradient(180deg, var(--Foundation-Blue-blue-500, #5c5bc0) 0%, var(--Foundation-Blue-blue-800, #33326a) 100%) !important;
    }

    .w-365px {
        width: 100%;
    }
}

.create-acc {
    padding: 16px 32px;
    color: #fff;
    background-color: #5c5bc0;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    letter-spacing: 0.5px;
}

.create-acc::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4), transparent);
    animation: runningLight 1.5s infinite;
}

.create-acc::after {
    content: "";
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    z-index: -1;
    background: #5c5bc0;
    border-radius: 12px;
    animation: pulseGlow 2s ease-in-out infinite alternate;
}

@keyframes runningLight {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 10px rgba(0, 217, 255, 0.6), 0 0 20px rgba(0, 217, 255, 0.4);
    }

    100% {
        box-shadow: 0 0 20px rgba(0, 217, 255, 0.8), 0 0 30px rgba(0, 217, 255, 0.6);
    }
}

.create-acc:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(92, 91, 192, 0.3), 0 0 25px rgba(92, 91, 192, 0.5);
}

.create-acc:active {
    transform: translateY(1px);
}

.card-radio {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border: 2px solid #cbd6e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;

    .card-content {
        flex: 1;
    }

    .card-title {
        font-size: 1.1em;
        font-weight: 600;
        color: #333;
        margin-bottom: 4px;
    }

    .radio-circle {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        border: 2px solid #cbd6e0;
        background: white;
        position: relative;
        transition: all 0.3s ease;
        flex-shrink: 0;

        &::after {
            content: "";
            position: absolute;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: white;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0);
            transition: transform 0.3s ease;
        }

    }

    &.selected {
        background-image: url(../assets/page-assets/Assesment_Bg.svg), linear-gradient(180deg, var(--Foundation-Blue-blue-500, #5c5bc0) 0%, var(--Foundation-Blue-blue-800, #33326a) 100%);
        background-size: auto;
        background-position: right;
        border-color: #5c5bc0 !important;
        animation: cardPop 0.4s ease;

        .card-title {
            color: white;
        }

        .radio-circle {
            background: white;
            border-color: white;

            &::after {
                background: #5c5bc0 !important;
                transform: translate(-50%, -50%) scale(1);
            }

        }

        .option-label {
            background: white;
            color: #5c5bc0;
        }

    }
}

@keyframes cardPop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }

    100% {
        transform: scale(1);
    }
}

.option-label {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #5c5bc0;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;

    &.selected {
        background: white;
        color: #5c5bc0;
    }

}

.w-full {
    width: 100% !important;
}

.max-w-365 {
    max-width: 100% !important;
}

.notification__item:hover {
    background-color: unset !important;
    cursor: pointer;
}

.badge-bg-success {
    background: #f0fdf4;
}

.badge-bg-blue {
    background: #eff6ff;
}

@media (min-width: 1200px) {
    .create-acc {
        width: fit-content !important;
    }

    .w-full {
        width: auto !important;
    }

    .max-w-365 {
        width: 365px !important;
    }
}

@media screen and (max-width:570px) {
    .topic-card {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .notification-dropdown {
        width: 300px !important;
        right: calc(0% + -104px) !important;
    }

    .max-w-200 {
        max-width: 130px !important;
    }

    .w-pod-100 {
        width: 40% !important;
    }
}

@media screen and (max-width:1025px) {
    .sticky-recent {
        bottom: 65px !important;
    }
}

@media screen and (max-width:1200px) {
    .hero-section-assesment {
        background-image: linear-gradient(180deg, var(--Foundation-Blue-blue-500, #5c5bc0) 0%, var(--Foundation-Blue-blue-800, #33326a) 100%) !important;
    }
}

@media screen and (max-width:1280px) {

    .classes-layout,
    .content-section {
        flex-direction: column;
        gap: 10px;
    }

    .units-sidebar {
        max-width: none !important;
    }

    .topics-sidebar {
        width: 100% !important;
    }
}

.topic-resources-thumbnail {
    flex-shrink: 0;
    /* width: 80px; */
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.topic-resources-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-view-pdf {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
    font-weight: 600;
}

.resources-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 8px 0;
}

.resources-detail {
    flex: 1;
    min-width: 0;
}

.btn-view-pdf:hover {
    color: white !important;
}

.auth-left {
    background-position: center !important;
    background-size: auto !important;
}


/*.signIn-img {
    background-image: linear-gradient( rgba(var(--primary-color-rgb), 0.15), rgba(var(--primary-color-rgb), 0.15) ), url('../assets/auth_assets/login-image.svg') !important;
    background-size:contain !important;
}*/

/*.createAcc-img {
    background-image: linear-gradient( rgba(var(--primary-color-rgb), 0.15), rgba(var(--primary-color-rgb), 0.15) ), url("../assets/auth_assets/otp-image.svg") !important;
}*/

/*.register-img{
    background-image: linear-gradient( rgba(var(--primary-color-rgb), 0.15), rgba(var(--primary-color-rgb), 0.15) ), url("../assets/auth_assets/register-image.svg") !important;
}*/

.reset-bg {
    background-image: linear-gradient(rgba(var(--primary-color-rgb), 0.15), rgba(var(--primary-color-rgb), 0.15)) !important;
    position: relative;
}

.reset-img {
    background-image: url("../assets/auth_assets/forget-password-image.svg") !important;
    background-position: center !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    width: 100%;
    height: 85vh;
}

.reset-img .pic-content {
    position: absolute;
    margin-bottom: 0px !important;
    bottom: 0px;
    /*        max-width: 650px !important;*/
}

.signIn-bg {
    background-image: linear-gradient(rgba(var(--primary-color-rgb), 0.15), rgba(var(--primary-color-rgb), 0.15)) !important;
    position: relative;
}

.signIn-img {
    background-image: url("../assets/auth_assets/login-image.svg") !important;
    background-position: center !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    width: 100%;
    height: 85vh;
}

.signIn-img .pic-content {
    position: absolute;
    margin-bottom: 0px !important;
    bottom: 0px;
    /*        max-width: 650px !important;*/
}

.createAcc-bg {
    background-image: linear-gradient(rgba(var(--primary-color-rgb), 0.15), rgba(var(--primary-color-rgb), 0.15)) !important;
    position: relative;
}

.createAcc-img {
    background-image: url("../assets/auth_assets/otp-image.svg") !important;
    background-position: center !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    width: 100%;
    height: 85vh;

}

.createAcc-img .pic-content {
    position: absolute;
    margin-bottom: 0px !important;
    bottom: 0px;
    /*        max-width:600px !important;*/
}

.register-bg {
    background-image: linear-gradient(rgba(var(--primary-color-rgb), 0.15), rgba(var(--primary-color-rgb), 0.15)) !important;
    position: relative;
}

.register-img {
    background-image: url("../assets/auth_assets/register-image.svg") !important;
    background-position: center !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    width: 100%;
    height: 85vh;
}

.register-img .pic-content {
    position: absolute;
    margin-bottom: 0px !important;
    bottom: 0px;
    /*        max-width: 650px !important;*/
}

.confirmation-bg {
    background-image: linear-gradient(rgba(var(--primary-color-rgb), 0.15), rgba(var(--primary-color-rgb), 0.15)) !important;
    position: relative;
}

.confirmation-img {
    background-image: url("../assets/auth_assets/otp-conform-img.svg") !important;
    background-position: center !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    width: 100%;
    height: 85vh;
}

.confirmation-img .pic-content {
    position: absolute;
    margin-bottom: 0px !important;
    bottom: 0px;
    /*        max-width: 650px !important;*/
}



/*.confirmation-img {
    background-image: linear-gradient( rgba(var(--primary-color-rgb), 0.15), rgba(var(--primary-color-rgb), 0.15) ), url("../assets/auth_assets/otp-confirmation-img.svg") !important;
}*/

.pic-content h2 {
    font-size: 30px !important;
}


/*.register-img .pic-content{
    margin-bottom:5px !important;
}

.confirmation-img .pic-content {
    margin-bottom: 50px !important;
}*/

.ms-xl-6 {
    margin-left: 0rem !important;
}

@media (min-width: 1200px) {
    .ms-xl-6 {
        margin-left: 5rem !important;
    }
}

@media (max-width: 1140px) {
    .pic-content h2 {
        font-size: 25px !important;
    }
}

@media (max-width: 1024px) {
    .pic-content h2 {
        font-size: 19px !important;
    }
}

@media (max-width: 480px) {
    footer .container-fluid div:nth-child(1) {
        font-size: 70%;
    }

    footer .container-fluid div:nth-child(2) {
        font-size: 70%;
    }

    footer .container-fluid {
        align-items: center !important;
    }

    .base-button-mob {
        font-size: 11px;
        line-height: 1;
        padding: 6px !important;
    }

    .pagination-simple .page-link {
        padding: 4px 8px !important;
        font-size: 14px !important;
    }

    .resources-tab {
        -webkit-box-pack: center !important;
        -ms-flex-pack: center !important;
        justify-content: center !important;
    }

    .resources-tab button {
        padding: 8px !important;
    }

    .resources-title {
        font-size: 14px !important;
    }

    .resources-time {
        font-size: 12px !important;
    }

    .view-btn {
        padding: 4px 8px !important;
    }

    .resources-btn {
        width: 100% !important;
    }
}

.notification-badge {
    color: transparent !important;
}

@media screen and (max-width : 480px) {
    .live_meet {
        max-width: 260px;
    }

    .live_meeting {
        max-width: 200px !important;
    }

    .m-topic-header {
        font-size: 12px !important;
    }
}

/* compatibility fix */
@media (max-width: 992px) {
    .sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        height: unset;
        /* IMPORTANT SAFETY LINE */

        width: 256px;
        background: var(--primary-color);
        color: white;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 400;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .sidebar::-webkit-scrollbar {
        width: 0;
    }
}


.max-w-200 {
    max-width: 200px;
}

.gender-label label {
    margin-right: 12px !important;
    cursor: pointer !important;
    margin-bottom: unset !important;
}

.gender-wrap {
    display: flex !important;
    align-items: center !important;
}

.gender-wrap label {
    cursor: pointer;
    margin-left: 4px;
    margin-bottom: 0;
}

.gender-wrap input[type="radio"] {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    #videoPlayerContainer iframe[src*="vimeo"] {
        height: 300px !important;
    }

    #videoPlayerContainer iframe[src*="youtube"],
    #videoPlayerContainer iframe[src*="youtu.be"] {
        height: 100% !important;
    }
}

/* FIX */

.form-group2 input:not([type="radio"]):not([type="checkbox"]) {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 1px solid #ccc !important;
    border-radius: 6px !important;
    font-size: 14px !important;
}

.gender-wrap2 input[type="radio"] {
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    transform: scale(1.1) !important;
}

.option_text_title p {
    margin-bottom: unset !important;
}

.as-ratio {
    aspect-ratio: 16/9 !important;
}

@media screen and (max-width: 768px) {
    .pdf-controls {
        -webkit-box-orient: horizontal !important;
        -webkit-box-direction: normal !important;
        -ms-flex-direction: row !important;
        flex-direction: row !important;
    }

    .control-group {
        -ms-flex-wrap: wrap !important;
        flex-wrap: wrap !important;
    }
}

.assessment-clamp {
    max-width: 520px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tab_container {
    width: 50%;
}

@media (max-width: 768px) {
    .tab_container {
        width: 100%;
    }
}

.word-clamp-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    word-break: break-word;
}

.word-clamp-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    word-break: break-word;
}

.p-10px {
    padding: 10px !important;
}

@media screen and (min-width : 1536px) {
    .submitted_assessments {
        -ms-flex-wrap: nowrap !important;
        flex-wrap: nowrap !important;
    }

    .assessments_rank {
        width: auto !important;
    }
}

.button-transparent {
    display: block;
    color: var(--primary-color);
    background: white;
    border: 1px solid var(--primary-color);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.375rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
}

.col-custom-6 {
    width: 100%;
}

.image-col {
    max-height: 240px;
    background: #f8f9fa;
}

.image-contain {
    -o-object-fit: cover;
    object-fit: cover;
}

.w-pod-100 {
    width: auto;
}

@media (min-width: 767px) {
    .image-col {
        max-height: 400px;
        /* fixed desktop height */
    }
}

/* ==========================================================================
   PREMIUM SWEETALERT2 STYLING OVERRIDES (SAGE STUDIO THEME)
   ========================================================================== */

/* 1. Backdrop Overlay blurring the background */
.swal2-container.swal2-backdrop-show {
    background: rgba(28, 28, 30, 0.45) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    transition: all 0.3s ease-in-out;
}

/* 2. Dialog Popup Window */
.swal2-popup.swal2-modal {
    background: #ffffff !important;
    border: 1px solid rgba(228, 224, 216, 0.8) !important;
    border-radius: 24px !important;
    padding: 56px 24px 30px !important;
    box-shadow: 0 20px 48px rgba(41, 94, 74, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04) !important;
    font-family: 'Sora', 'Outfit', system-ui, -apple-system, sans-serif !important;
    max-width: 420px !important;
    overflow: visible !important;
    position: relative !important;
    /* animation: swal2-premium-entry 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important; */
}

/* Status-specific Top Accent Border */
.swal2-popup.swal2-modal:has(.swal2-success) {
    border-top: 8px solid #3d8b6e !important;
}

.swal2-popup.swal2-modal:has(.swal2-error) {
    border-top: 8px solid #dc4c3e !important;
}

.swal2-popup.swal2-modal:has(.swal2-warning) {
    border-top: 8px solid #c8972a !important;
}

.swal2-popup.swal2-modal:has(.swal2-info) {
    border-top: 8px solid #0d6efd !important;
}

.swal2-popup.swal2-modal:has(.swal2-question) {
    border-top: 8px solid #6c6c70 !important;
}

@keyframes swal2-premium-entry {
    0% {
        transform: scale(0.9) translateY(10px);
        opacity: 0;
    }

    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* 3. Title Styling */
.swal2-title {
    color: #1c1c1e !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    margin-top: 16px !important;
    margin-bottom: 8px !important;
    padding: 0 !important;
    line-height: 1.3 !important;
}

/* 4. Text Content */
.swal2-html-container {
    color: #4e4e50 !important;
    font-size: 14.5px !important;
    line-height: 1.6 !important;
    margin: 8px 0 24px !important;
    padding: 0 8px !important;
    font-weight: 400 !important;
}

/* 5. Icons Customization */
.swal2-icon {
    font-size: 13.6px !important;
    width: 5em !important;
    height: 5em !important;
    border-width: 3px !important;
    position: absolute !important;
    top: -34px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    background: #ffffff !important;
    box-shadow: 0 8px 24px rgba(41, 94, 74, 0.14) !important;
    border-style: solid !important;
    z-index: 10 !important;
    transition: all 0.3s ease;
}

/* Hide the default background circles and cover-ups so badges look super clean */
.swal2-icon.swal2-success [class^="swal2-success-circular-line"],
.swal2-icon.swal2-success .swal2-success-fix {
    background: transparent !important;
}

/* Success Icon Override */
.swal2-icon.swal2-success {
    border-color: #3d8b6e !important;
    background: #ffffff !important;
}

.swal2-icon.swal2-success .swal2-success-ring {
    border: 3px solid rgba(61, 139, 110, 0.15) !important;
}

.swal2-icon.swal2-success [class^="swal2-success-line"] {
    background-color: #3d8b6e !important;
}

/* Error Icon Override */
.swal2-icon.swal2-error {
    border-color: #dc4c3e !important;
    background: #ffffff !important;
}

.swal2-icon.swal2-error [class^="swal2-x-mark-line"] {
    background-color: #dc4c3e !important;
}

/* Warning Icon Override */
.swal2-icon.swal2-warning {
    border-color: #c8972a !important;
    background: #ffffff !important;
    color: #c8972a !important;
}

/* Info Icon Override */
.swal2-icon.swal2-info {
    border-color: #0d6efd !important;
    background: #ffffff !important;
    color: #0d6efd !important;
}

/* Question Icon Override */
.swal2-icon.swal2-question {
    border-color: #6c6c70 !important;
    background: #ffffff !important;
    color: #6c6c70 !important;
}

/* 6. Action Button Spacing */
.swal2-actions {
    margin-top: 16px !important;
    gap: 10px !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
}

/* Confirm Button (Primary Sage Green) */
.swal2-container .swal2-actions .swal2-confirm.swal2-styled {
    background-color: #3d8b6e !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 10px 24px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em !important;
    box-shadow: 0 6px 16px rgba(61, 139, 110, 0.2) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    outline: none !important;
    margin: 0 !important;
}

.swal2-container .swal2-actions .swal2-confirm.swal2-styled:hover {
    background-color: #295e4a !important;
    transform: translateY(-1.5px) !important;
    box-shadow: 0 8px 20px rgba(41, 94, 74, 0.3) !important;
}

.swal2-container .swal2-actions .swal2-confirm.swal2-styled:active {
    transform: translateY(0) !important;
}

/* Cancel Button (Secondary Muted) */
.swal2-container .swal2-actions .swal2-cancel.swal2-styled {
    background-color: #f4f4f5 !important;
    color: #4e4e50 !important;
    border: 1px solid #e4e4e7 !important;
    border-radius: 12px !important;
    padding: 10px 24px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    outline: none !important;
    margin: 0 !important;
    box-shadow: none !important;
}

.swal2-container .swal2-actions .swal2-cancel.swal2-styled:hover {
    background-color: #e4e4e7 !important;
    color: #1c1c1e !important;
    transform: translateY(-1.5px) !important;
}

.swal2-container .swal2-actions .swal2-cancel.swal2-styled:active {
    transform: translateY(0) !important;
}

/* ==========================================================================
   SWEETALERT2 DARK MODE OVERRIDES (THEME AWARE)
   ========================================================================== */
[data-mode="dark"] .swal2-popup.swal2-modal,
.dark-mode .swal2-popup.swal2-modal {
    background: var(--bg-surface, #141724) !important;
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08)) !important;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35), 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

[data-mode="dark"] .swal2-title,
.dark-mode .swal2-title {
    color: var(--text-primary, #F8FAFC) !important;
}

[data-mode="dark"] .swal2-html-container,
.dark-mode .swal2-html-container {
    color: var(--text-secondary, #CBD5E1) !important;
}

[data-mode="dark"] .swal2-icon,
.dark-mode .swal2-icon {
    background: var(--bg-surface, #141724) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
}

[data-mode="dark"] .swal2-icon.swal2-success,
.dark-mode .swal2-icon.swal2-success,
[data-mode="dark"] .swal2-icon.swal2-error,
.dark-mode .swal2-icon.swal2-error,
[data-mode="dark"] .swal2-icon.swal2-warning,
.dark-mode .swal2-icon.swal2-warning,
[data-mode="dark"] .swal2-icon.swal2-info,
.dark-mode .swal2-icon.swal2-info,
[data-mode="dark"] .swal2-icon.swal2-question,
.dark-mode .swal2-icon.swal2-question {
    background: var(--bg-surface, #141724) !important;
}

[data-mode="dark"] .swal2-container .swal2-actions .swal2-cancel.swal2-styled,
.dark-mode .swal2-container .swal2-actions .swal2-cancel.swal2-styled {
    background-color: var(--bg-surface-2, #1B1E2E) !important;
    color: var(--text-secondary, #CBD5E1) !important;
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08)) !important;
}

[data-mode="dark"] .swal2-container .swal2-actions .swal2-cancel.swal2-styled:hover,
.dark-mode .swal2-container .swal2-actions .swal2-cancel.swal2-styled:hover {
    background-color: var(--bg-surface-3, #23273C) !important;
    color: var(--text-primary, #F8FAFC) !important;
}