/* Custom Header Styles */
#header .notification-bar {
    font-weight: 500;
    letter-spacing: 0.3px;
}

#header .header-top-first {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

#header .menu-link {
    transition: all 0.3s ease;
    color: #374151;
    font-size: 13px;
}

#header .menu-link:hover {
    color: #6B46C1;
}

#header .header-icon-wrapper a {
    transition: all 0.3s ease;
}

#header .header-icon-wrapper a:hover {
    transform: scale(1.1);
}

#header .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 70, 193, 0.3);
    transition: all 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 1199px) {
    #header .header-logo {
        text-align: start !important;
    }
    .brand-site .header-theme-logo {
        justify-content: flex-start;
    }
}

/* Ensure modals inside #main sit above Bootstrap's backdrop (z-index 1050) */
.brand-site #main > .modal,
.brand-site .modal {
    z-index: 1055 !important;
}

.brand-site .course-media-backdrop {
    z-index: 1055 !important;
}

.brand-site .course-media-modal {
    z-index: 1060 !important;
    pointer-events: auto !important;
}

@media (max-width: 767px) {
    #header .notification-bar span {
        font-size: 12px;
    }
}

.swiper-backface-hidden .swiper-slide {
    height: 500px;
}

.video .video-img img, .video video {
    -webkit-filter: brightness(1);
    filter: brightness(1);
    border-radius: 20px;
    /* height: 480px; */
}

.swiper-horizontal {
    border-radius: 20px;
}

.slider-content .home-slider .slider-image::after {
    display: none;
}

.breadcrumb-item+.breadcrumb-item::before {
    float: right;
    padding-left: 10px;
}

.breadcrumb-area::after {
    background-color: #FFF;
    opacity: 1;
}


/* ================================================
   Inline Styles Migration to CSS Classes
   ================================================ */

/* Notification Bar Styles */
.notification-bar-gradient {
    background: linear-gradient(90deg, #6B46C1 0%, #9333EA 100%);
    color: white;
}

.notification-bar-text {
    font-size: 14px;
}

/* Header Styles */
.header-bg-white {
    background-color: #ffffff;
}

/* Header Icon Spacing */
.header-icon-spacing {
    margin-left: 10px;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}

.header-icon-spacing-search {
    margin-left: 10px;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 10px;
}

/* Login Button */
.btn-login {
    border: 0;
    background: white;
    color: #6838ED;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 500;
}

.btn-login:hover {
    background: #f9fafb;
    color: #6838ED;
}

/* Register Button */
.btn-register {
    background: #6838ED;
    color: white;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 500;
    border: none;
}

.btn-register:hover {
    background: #5a2bc4;
    color: white;
}

/* Account Dropdown (logged-in header pill) */
.user-account-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fff;
    border: 1px solid #F1F1F4;
    border-radius: 999px;
    padding: 3px 3px 3px 12px;
    box-shadow: 0 4px 16px rgba(17, 12, 46, .08);
    text-decoration: none;
    transition: box-shadow .3s ease;
}

.user-account-pill:hover {
    box-shadow: 0 6px 20px rgba(17, 12, 46, .12);
    text-decoration: none;
}

.user-account-pill.dropdown-toggle::after {
    display: none;
}

.user-account-name {
    font-weight: 600;
    font-size: 15px;
    color: #1E1B39;
    white-space: nowrap;
}

.user-account-caret {
    font-size: 18px;
    line-height: 1;
    color: #8A8A99;
}

.user-account-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 0 0 1px #F1F1F4;
}

.user-account-menu {
    border: 1px solid #F1F1F4;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(17, 12, 46, .12);
    padding: 8px;
    min-width: 190px;
}

.user-account-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 14px;
    color: #1E1B39;
}

.user-account-menu .dropdown-item i {
    font-size: 16px;
    color: #8A8A99;
}

.user-account-menu .dropdown-item:hover,
.user-account-menu .dropdown-item:focus {
    background: #F5F1FF;
    color: #6838ED;
}

.user-account-menu .dropdown-item:hover i,
.user-account-menu .dropdown-item:focus i {
    color: #6838ED;
}

/* Footer Styles */
.footer-gradient {
    background: linear-gradient(135deg, #050514 0%, #6838ED 0%, #050514 85%);
    color: white;
    padding: 60px 0 0;
}

.footer-logo {
    max-width: 200px;
    filter: brightness(0) invert(1);
}

.footer-link {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    color: white;
    opacity: 0.8;
}

.footer-link-title {
    font-size: 16px;
    font-weight: normal;
    margin-bottom: 15px;
    color: white;
}

/* Social Media Icons */
.social-icon {
    width: 36px;
    height: 36px;
    background-image: url(../../../website/images/round.png);
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    text-decoration: none;
}

/* .social-icon:hover {
    background: rgba(255, 255, 255, 0.25);
} */

.social-icon i {
    font-size: 21px;
    color: #6838ED;
}

/* Copyright Section */
.footer-copyright {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-copyright p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-copyright-bold {
    font-weight: 600;
}

/* Developer Section */
.footer-developer {
    padding: 20px 0 30px;
}

.footer-developer p {
    margin: 0 0 10px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-developer-logo {
    max-width: 120px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

/* Modal Styles */
.modal-rounded {
    border-radius: 24px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.modal-close-custom {
    top: 20px;
    left: 20px;
    z-index: 10;
}

.modal-logo {
    width: 100px;
    height: auto;
}

.modal-title-custom {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1f2937;
}

.modal-subtitle {
    color: #6b7280;
    margin-bottom: 30px;
}

@media (max-width: 576px) {
    .modal-content .px-5 {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    .modal-title-custom {
        font-size: 22px;
    }

    .phone-input-gap {
        flex-wrap: wrap;
    }
}

/* Form Styles */
.form-label-custom {
    font-weight: 500;
    margin-bottom: 8px;
    color: #374151;
}

.form-control-custom {
    padding: 12px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-control-custom:focus {
    border-color: #6838ED;
    box-shadow: 0 0 0 3px rgba(104, 56, 237, 0.1);
}

/* Button Primary Gradient */
.btn-primary-gradient {
    background: linear-gradient(90deg, #6B46C1 0%, #9333EA 100%);
    color: white;
    padding: 16px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    font-size: 16px;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(107, 70, 193, 0.4);
    color: white;
}

/* Divider with Text */
.divider-text {
    margin: 25px 0;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.divider-text-content {
    padding: 0 15px;
    color: #9ca3af;
    font-size: 14px;
}

/* Social Login Buttons */
.btn-social {
    padding: 12px;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    background: white;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-social:hover {
    border-color: #6838ED;
    background: #f9fafb;
}

.btn-social img {
    width: 24px;
    height: 24px;
}

/* Terms and Links */
.terms-text {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.6;
}

.link-primary {
    color: #6838ED;
    text-decoration: none;
    font-weight: 500;
}

.link-primary:hover {
    text-decoration: underline;
    color: #5a2bc4;
}

/* Modal Footer */
.modal-footer-text {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    color: #6b7280;
}

/* Register Modal Additional Styles */
.form-check-custom .form-check-input {
    width: 18px;
    height: 18px;
    border: 1.5px solid #d1d5db;
    border-radius: 4px;
}

.form-check-custom .form-check-input:checked {
    background-color: #6838ED;
    border-color: #6838ED;
}

.form-check-custom .form-check-label {
    font-size: 14px;
    color: #374151;
    margin-right: 8px;
}

/* Payment Section Styles */
.payment-logo {
    width: 100px;
    height: auto;
    margin-bottom: 15px;
}

.payment-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1f2937;
}

.payment-subtitle {
    color: #6b7280;
    margin-bottom: 25px;
    font-size: 14px;
}

.payment-method-card {
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method-card:hover {
    border-color: #6838ED;
    background: #f9fafb;
}

.payment-method-card.active {
    border-color: #6838ED;
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.05) 0%, rgba(147, 51, 234, 0.05) 100%);
}

.payment-method-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6366f1 0%, #7c3aed 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-method-icon i {
    font-size: 24px;
    color: white;
}

.payment-method-title {
    font-weight: 600;
    margin-bottom: 4px;
    color: #1f2937;
}

.payment-method-desc {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

/* Price Summary */
.price-summary {
    background: #f9fafb;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    color: #6b7280;
}

.price-row-total {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    margin-top: 15px;
    border-top: 1.5px solid #e5e7eb;
    font-weight: 700;
    color: #1f2937;
    margin-right: 10px;
}

.price-amount {
    color: #1f2937;
    font-weight: 600;
}

/* Success Modal */
.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.success-icon i {
    font-size: 40px;
    color: white;
}

.success-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1f2937;
}

.success-message {
    color: #6b7280;
    margin-bottom: 30px;
    font-size: 15px;
}

.order-number {
    background: #f3f4f6;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    color: #6838ED;
    margin-bottom: 25px;
}


/* Additional Modal Form Styles */
.form-control-bg-gray {
    background: #f9f9f9;
}

.phone-input-group {
    flex: 1;
    display: flex;
    background: #f9f9f9;
    border: 1.5px solid #e0e0e0;
    border-radius: 12px;
}

.phone-input-prefix {
    width: 110px;
    border-right: 1px solid #EEE;
    margin-right: 7px;
    padding-top: 15px;
}

.phone-flag {
    margin-right: 7px;
}

.phone-flag {
    width: 25px;
    height: 20px;
    margin-left: 8px;
}

.phone-code {
    color: #666;
    font-size: 14px;
}

.phone-input {
    padding: 0;
    text-align: left;
    border: 0;
    padding-right: 8px;
    background: transparent;
}

.terms-checkbox {
    width: 18px;
    height: 18px;
    border: 1.5px solid #d1d5db;
    border-radius: 4px;
}

.terms-checkbox:checked {
    background-color: #6838ED;
    border-color: #6838ED;
}

.terms-label {
    color: #999;
    font-size: 14px;
    cursor: pointer;
    margin-right: 12px;
}

.btn-create-account {
    background: #7C3AED;
    color: white;
    padding: 16px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
    width: 100%;
    transition: all 0.3s ease;
}

.btn-create-account:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
    color: white;
}

.account-footer-box {
    background: linear-gradient(180deg, rgba(147, 51, 234, 0.05) 0%, rgba(147, 51, 234, 0.1) 100%);
    padding: 24px;
    border-radius: 16px;
    margin-top: 30px;
}

.account-footer-text {
    color: #7C3AED;
    font-size: 15px;
    margin: 0 0 12px 0;
    font-weight: 500;
}

.account-footer-link {
    color: #7C3AED;
    font-weight: 700;
    text-decoration: none;
    font-size: 18px;
}

.account-footer-link:hover {
    text-decoration: underline;
    color: #6B2DD9;
}

.slider-content .home-slider.swiper .swiper-buttons .swiper-buttons-wrap button {
    display: none;
}


/* Password Eye Icon Button */
.password-toggle-btn {
    top: 50%;
    transform: translateY(-50%);
    right: 12px;
    border: none;
    background: none;
    padding: 0;
}

.password-toggle-icon {
    color: #999;
    font-size: 18px;
}

/* Account Footer Link with Size */
.account-footer-link-lg {
    font-size: 16px;
    display: inline-block;
    margin-top: 8px;
}

/* Login Footer Box */
.login-footer-box {
    background: linear-gradient(180deg, rgba(147, 51, 234, 0.05) 0%, rgba(147, 51, 234, 0.1) 100%);
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
}

/* Text Centered Small */
.text-centered-small {
    color: #999;
    font-size: 13px;
    text-align: center;
    margin: 0;
}

/* Phone Input Gap */
.phone-input-gap {
    gap: 10px;
    direction: ltr;
}


/* RTL and Direction Helpers */
.text-align-right {
    text-align: right;
}

.text-align-left {
    text-align: left;
}

.text-align-center {
    text-align: center;
}

.dir-rtl {
    direction: rtl;
}

.dir-ltr {
    direction: ltr;
}

.label-rtl {
    text-align: right;
    display: block;
}

/* Input with Right Padding for Password Toggle */
.input-password-rtl {
    padding-right: 40px;
    direction: rtl;
    text-align: right;
}

.input-rtl {
    direction: rtl;
    text-align: right;
}

.input-ltr {
    text-align: left;
}

/* Email Sent Modal Styles */
.email-sent-title {
    color: #1a1a1a;
    font-weight: 700;
    margin-bottom: 20px;
}

.email-sent-text {
    color: #999;
    font-size: 14px;
    margin-bottom: 30px;
}


/* ================================================
   Complete RTL and Display Helper Classes
   ================================================ */

/* Label with RTL Display Block */
.form-label-rtl-block {
    text-align: right;
    display: block;
}

/* Input Fields with Specific Alignments */
.form-input-rtl {
    direction: rtl;
    text-align: right;
}

.form-input-ltr {
    text-align: left;
}

.form-input-password-rtl {
    padding-right: 40px;
    text-align: right;
}

/* Modal Title and Subtitle with RTL */
.modal-title-rtl {
    text-align: right;
}

.modal-subtitle-rtl {
    text-align: right;
}

/* General Text Alignment Utilities */
.text-right {
    text-align: right !important;
}

.text-left {
    text-align: left !important;
}

.display-block {
    display: block !important;
}

.display-inline-block {
    display: inline-block !important;
}

/* Combined Classes for Common Patterns */
.label-text-right-block {
    text-align: right;
    display: block;
}

.input-text-right {
    text-align: right;
}

.input-text-left {
    text-align: left;
}

.input-dir-rtl-text-right {
    direction: rtl;
    text-align: right;
}

.input-padding-right-40 {
    padding-right: 40px;
}

.input-padding-right-40-text-right {
    padding-right: 40px;
    text-align: right;
}


/* Success Icon Circle */
.success-icon-circle {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #7FD957 0%, #5CB85C 100%);
    border-radius: 50%;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(127, 217, 87, 0.4);
}

.success-icon-circle i {
    font-size: 70px;
    color: white;
    font-weight: bold;
}

/* Error Icon Circle */
.error-icon-circle {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #f87171 0%, #dc2626 100%);
    border-radius: 50%;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4);
}

.error-icon-circle i {
    font-size: 70px;
    color: white;
    font-weight: bold;
}

/* Success Modal Text */
.success-modal-title {
    color: #1a1a1a;
    font-weight: 700;
    margin-bottom: 15px;
}

.success-modal-text {
    color: #999;
    font-size: 14px;
    margin-bottom: 30px;
}


/* ================================================
   Home Page Styles
   ================================================ */

/* Slider Section */
.slider-section {
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Welcome Section */
.welcome-section {
    position: relative;
    padding: 0px 0 70px;
    text-align: center;
    overflow: hidden;
    background-image:
        linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px),
        linear-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px);
    background-size: 56px 56px;
}

.welcome-title {
    font-size: 46px;
    font-weight: 800;
    color: #161616;
    margin-bottom: 18px;
}

.welcome-title-gradient {
    background: linear-gradient(90deg, #22d3ee, #6366f1, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.welcome-subtitle {
    font-size: 18px;
    color: #505D6F;
    max-width: 650px;
    margin: 0 auto 35px;
}

.welcome-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgb(255, 202, 60);
    color: #fff;
    font-weight: 700;
    font-size: 17px;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.35);
    transition: all 0.3s ease;
}

.welcome-btn:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(251, 191, 36, 0.45);
}

.welcome-btn i {
    font-size: 20px;
    line-height: 1;
}

@media (max-width: 768px) {
    .welcome-title {
        font-size: 28px;
    }

    .welcome-subtitle {
        font-size: 15px;
    }

    .welcome-btn {
        padding: 14px 28px;
        font-size: 15px;
    }
}

/* Statistics Section */
.statistics-section {
    background: #6838ED;
    padding: 30px 0;
}

.statistics-section .stat-number {
    color: white !important;
    font-size: 30px !important;
    margin-bottom: 10px !important;
}

.statistics-section .stat-label {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 16px !important;
    margin: 0 !important;
}

/* Educational Services Section */
.educational-services {
    background-color: #fff;
    padding: 40px 0;
}

.best-services-badge {
    background-color: #fbbf24;
    color: #000;
    padding: 8px 11px;
    border-radius: 20px;
    font-size: 9px;
    position: absolute;
    top: 5px;
    right: 62%;
    /* transform: rotate(35deg); */
}

.section-heading-large {
    font-size: 48px;
    font-weight: 400;
    margin-top: 30px;
}

.section-heading-primary {
    color: #6366f1;
}

.section-heading-dark {
    color: #000;
}

.heading-underline {
    /* width: 120px; */
    /* height: 4px; */
    /* background-color: #fbbf24; */
    margin: 0;
    margin-bottom: 12px;
}

.section-description {
    color: #505D6F;
    font-size: 17px;
    max-width: 600px;
    margin: 0 0 0 auto;
    text-align: right;
}

.service-card {
    background: white;
    border: none;
    border-radius: 20px;
    padding: 30px 0px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid #EEE;
    width: 88%;
    margin: auto;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 50%;
    border-top: 3px solid #fbbf24;
    border-right: 3px solid #fbbf24;
    border-top-right-radius: 20px;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 50%;
    border-bottom: 3px solid #fbbf24;
    border-left: 3px solid #fbbf24;
    border-bottom-left-radius: 20px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon i {
    font-size: 64px;
    color: #6366f1;
}

.service-title {
    font-size: 16px;
    color: #161616;
    margin-bottom: 12px;
    font-weight: bold;
}

.service-description {
    color: #505D6F;
    font-size: 15px;
    line-height: 1.8;
    font-weight: 600;
}

/* Browse Categories Section */
.browse-categories {
    padding: 80px 0;
    background-color: #fff;
}

.categories-header {
    display: flex;
    justify-content: space-between;
}

.section-heading-medium {
    font-size: 30px;
    font-weight: 500;
}

.heading-underline-small {
    /* width: 100px; */
    /* height: 3px; */
    /* background-color: #fbbf24; */
    margin: 0;
    margin-right: 50%;
    margin-bottom: 10px;
}

.category-link {
    background: #FFFAEB;
    color: #fbbf24;
    font-size: 11px;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 11px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.category-link:hover {
    background: #fbbf24;
    color: white;
}

.category-tab {
    background: white;
    color: #666;
    border: 1px solid #eee;
    padding: 12px 17px;
    border-radius: 15px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    flex: 1;
    min-width: max-content;
    margin-bottom: 20px !important;
    margin-left: 7px;
    margin-right: 7px;
    /* min-width: 200px; */
}

.category-tab span span {
    margin-right: 4px;
    font-size: 14px;
}

.category-tab:hover, .category-tab.active {
    background: #FFF;
    border-color: #6366f1;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    color: #6366f1;
}

.category-tab i {
    font-size: 18px;
    transform: rotate(45deg);
    display: inline-block;
    color: #000;
}

.category-tab i.ri-arrow-left-line {
    font-size: 20px;
}

.category-tab.active .active_span {
    background: linear-gradient(135deg, #6366f1 0%, #7c3aed 100%);
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 5px;
    text-align: center;
}

.category-tab.active .active_span i {
    color: #FFF;
}

/* Category Square Cards */
.browse-categories-tight {
    padding: 20px 0 70px;
    background-color: #fff;
}

.cat-search-wrapper {
    position: relative;
    max-width: 480px;
    margin: 0 auto 24px;
}

.cat-search-input {
    width: 100%;
    border: 1px solid #eef0f4;
    border-radius: 14px;
    padding: 14px 46px 14px 16px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.cat-search-input:focus {
    border-color: #6366f1;
}

.cat-search-icon {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 18px;
}

.cat-count-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #6b7280;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.cat-count-header i {
    color: #6366f1;
}

.cat-count-divider {
    color: #d1d5db;
}

.cat-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 18px;
    padding: 22px 20px 18px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(17, 24, 39, 0.04);
    transition: all 0.3s ease;
}

.cat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(99, 102, 241, 0.14);
    border-color: #c7d2fe;
    text-decoration: none;
}

.cat-card-top {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 14px;
}

.cat-card-title {
    font-size: 17px;
    font-weight: 700;
    color: #161616;
    margin: 0;
}

.cat-card-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eef2ff 0%, #ede9fe 100%);
    color: #6366f1;
    font-size: 19px;
}

.cat-card-leaf .cat-card-icon {
    background: linear-gradient(135deg, #ecfdf5 0%, #eff6ff 100%);
    color: #10b981;
}

.cat-card-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
    min-height: 30px;
}

.cat-pill {
    background: #f8f9fc;
    border: 1px solid #eef0f4;
    color: #4b5563;
    font-size: 11px;
    padding: 5px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

.cat-pill-more {
    background: #eef2ff;
    color: #6366f1;
    border-color: #e0e7ff;
    font-weight: 600;
}

.cat-pill-empty {
    background: transparent;
    border-style: dashed;
    color: #9ca3af;
}

.cat-card-footer {
    border-top: 1px solid #f1f2f6;
    padding-top: 14px;
    margin-top: auto;
}

.cat-card-footer-branch {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cat-card-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f8f9fc;
    color: #6366f1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.cat-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #eef2ff;
    color: #6366f1;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.cat-badge-pill i {
    font-size: 13px;
}

.cat-card-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: #eef2ff;
    color: #6366f1;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.cat-card:hover .cat-card-cta {
    background: #6366f1;
    color: #fff;
}

.cat-card-cta i {
    font-size: 16px;
}

@media (max-width: 768px) {
    .cat-card {
        padding: 16px 14px 14px;
        border-radius: 14px;
    }

    .cat-card-title {
        font-size: 14px;
    }

    .cat-card-icon {
        width: 32px;
        height: 32px;
        font-size: 15px;
        border-radius: 10px;
    }

    .cat-pill {
        font-size: 10px;
        padding: 4px 8px;
    }

    .cat-card-cta {
        font-size: 11px;
        padding: 8px 12px;
    }

    .cat-badge-pill {
        font-size: 10px;
        padding: 5px 9px;
    }

    .cat-count-header {
        font-size: 12px;
        gap: 6px;
        margin-bottom: 16px;
    }
}

/* Course Card */
.course-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.course-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.course-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-card:hover .course-image {
    transform: scale(1.1);
}

.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(251, 191, 36, 0.4);
}

.course-content {
    padding: 25px;
}

.course-category {
    color: #6366f1;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.course-title {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
    line-height: 1.4;
}

.course-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0;
    border-top: 0;
    border-bottom: 0;
    margin-bottom: 5px !important;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 13px;
}

.meta-item i {
    color: #6366f1;
    font-size: 16px;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-instructor {
    display: flex;
    align-items: center;
    gap: 8px;
}

.instructor-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}

.instructor-name {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.course-price {
    font-size: 24px;
    font-weight: 700;
    color: #6366f1;
}

.course-price-old {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
    margin-left: 8px;
}

/* Responsive */
@media (max-width: 768px) {

    .popular_courses_dev {
        margin-bottom: 20px;
    }

    .swiper-backface-hidden .swiper-slide {
        height: auto !important;
    }
    .section-heading-large {
        font-size: 32px;
    }
    
    .service-card {
        width: 100%;
        margin: auto;
    }

    .service-description {
        font-size: 11px;
    }

    .service-title {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .service-icon {
        margin-bottom: 10px !important;
    }

    .service-icon img {
        width: 50px;
        height: 50px;
    }

    .service-card {
        padding: 20px 0px;
    }

    .section-heading-medium {
        font-size: 18px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .categories-header {
        flex-direction: row;
        gap: 0px;
        align-items: center;
    }
    
    .category-tabs-swiper .category-tab.swiper-slide {
        width: 75%;
        flex: 0 0 auto;
        min-width: 0;
    }

    .category-grid-swiper .category-tab.swiper-slide {
        width: 45%;
        flex: 0 0 auto;
        min-width: 0;
    }

    .main-nav-tabs-swiper .nav-item.swiper-slide {
        width: auto;
        flex-shrink: 0;
    }

    .popular_courses_dev {
        display: block;
        position: relative;
    }

    .popular-courses-link {
        position: absolute;
        left: 0;
        top: 15%;
    }

    .heading-underline-small {
        display: none;
    }

    .category-tab span span {
        font-size: 12px;
    }

    .popular-courses-title {
        font-size: 22px !important;
    }
}

/* Mobile-only swipers (category tabs, filter pills): plain Swiper on mobile; revert to normal flex-wrap row on desktop */
@media (min-width: 769px) {
    .mobile-only-swiper.swiper,
    .mobile-only-swiper .swiper-wrapper {
        overflow: visible;
        height: auto !important;
        transform: none !important;
        transition: none !important;
    }

    .mobile-only-swiper .swiper-wrapper {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
    }

    .mobile-only-swiper .swiper-slide {
        width: auto !important;
        /* margin: 0 !important; */
    }

    .category-tabs-swiper .swiper-wrapper {
        gap: 1rem;
        justify-content: space-between;
    }

    .category-tabs-swiper .category-tab.swiper-slide {
        flex: 1 1 auto;
        min-width: 200px;
    }

    .courses-filter-pills .swiper-wrapper {
        gap: 0.5rem;
        justify-content: flex-start;
    }

    .main-nav-tabs-swiper .swiper-wrapper {
        gap: 0.5rem;
        justify-content: center;
    }
}


/* ================================================
   Popular Courses Wrapper Styles
   ================================================ */

.popular-courses-wrapper {
    background: linear-gradient(to right, #fbbf24 0%, #f59e0b 20%, #ec4899 50%, #8b5cf6 100%);
    border-radius: 40px;
    padding: 50px 30px;
    position: relative;
    min-height: 500px;
}

.popular-courses-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
    color: #FFF;
}

.popular-courses-text {
    color: #FFF;
    font-size: 16px;
    margin-bottom: 25px;
    opacity: 0.95;
}

.popular-courses-link {
    background: #FFFAEB;
    color: #B48F28;
    text-decoration: none;
    padding: 5px 30px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    justify-content: center;
}

.popular-courses-link:hover {
    background: #fbbf24;
    color: #000;
}

.popular-courses-link i {
    color: #fbbf24;
}

/* Filter Pills */
.filter-pill {
    background: #EEEFF1;
    color: #000;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-pill:hover,
.filter-pill.active {
    background: #fbbf24;
    color: #000;
    border: 1px solid #FFF;
}

.courses-filter-pills {
    margin-bottom: 1.5rem;
}

.courses-filter-pills .filter-pill.swiper-slide {
    width: auto;
    flex-shrink: 0;
}

/* Course Card Detailed Styles */
.course-card-white {
    background: white;
    border-radius: 25px;
    padding: 0;
    overflow: hidden;
    position: relative;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.course-header-purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    /* padding: 30px 20px 20px; */
    position: relative;
}

.course-header-purple .text-center ,
.course-header-blue .text-center ,
.course-header-yellow .text-center {
    text-align: center !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 180px;
    background-size: cover;
}

.course_rule_badge {
    width: auto;
    height: 33px;
    line-height: 33px;
    background: #FFF;
    color: #000;
    border-radius: 20px;
    margin-bottom: 6px;
    font-size: 14px;
    transform: rotate(-7deg);
        padding-left: 10px;
    padding-right: 10px;
}

.course-header-yellow {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    /* padding: 30px 20px 20px; */
    position: relative;
}

.course-header-pink {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
    /* padding: 30px 20px 20px; */
    position: relative;
}

.course-favorite-btn {
    position: absolute;
    top: 0;
    left: 30px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.course-favorite-btn:hover {
    background: white;
    transform: scale(1.1);
}

.course-favorite-btn i {
    color: #ef4444;
    font-size: 16px;
}

.course-icon-circle {
    /* width: 40px;
    height: 40px; */
    background: white;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.browse-categories .slick-slide img {
    width: 100%;
}

.course-icon-circle i {
    font-size: 35px;
}

.course-icon-circle-purple i {
    color: #8b5cf6;
}

.course-icon-circle-yellow i {
    color: #fbbf24;
}

.course-icon-circle-pink i {
    color: #ec4899;
}

.course-category-badge {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    display: inline-block;
    padding: 6px 18px;
    border-radius: 18px;
    font-size: 12px;
    transform: rotate(-7deg);
}

.course-card-content {
    padding: 20px;
    padding-left: 13px;
    padding-right: 13px;
    position: relative;
}

.course-card-content .justify-content-center {
    justify-content: space-between !important;
}

.course-card-title {
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    color: #000;
}

.course-meta-info {
    color: #666;
    font-size: 11px;
}

.course-rating {
    color: #fbbf24;
    font-size: 13px;
}

.course-subtitle {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 3px;
    color: #000;
    height: 37px;
    line-height: 1.4;
}

.course-description-text {
    color: #666;
    font-size: 11px;
    line-height: 1.6;
    margin-bottom: 27px;
    height: 53px;
}

.course-btn-purple {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border: none;
    width: 40px;
    padding: 10px;
    border-radius: 12px;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: absolute;
    left: 0;
    bottom: 0;
    border-top-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}

.course-btn-purple i {
    transform: rotate(-80deg);
    font-size: 18px;
}

.course-btn-yellow {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    border: none;
    width: 100%;
    padding: 10px;
    border-radius: 12px;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.course-btn-pink {
    background: linear-gradient(135deg, #ec4899, #db2777);
    color: white;
    border: none;
    width: 100%;
    padding: 10px;
    border-radius: 12px;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.course-btn-purple:hover,
.course-btn-yellow:hover,
.course-btn-pink:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Title with Primary Color Span */
.section-heading-color-span {
    color: #6366f1;
}

.popular_courses_dev {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Responsive Course Cards */
@media (max-width: 768px) {
    .popular-courses-wrapper {
        padding: 30px 20px;
        border-radius: 25px;
    }
    
    .popular-courses-title {
        font-size: 28px;
    }
    
    .course-card-white {
        margin-bottom: 20px;
    }
}


/* ================================================
   Courses Page Styles
   ================================================ */

/* Breadcrumb Area */
.breadcrumb-area-custom {
    background: #f8f9fa;
    padding: 20px 0;
}

/* Course Filter Section */
.course-filter-section {
    padding: 40px 0;
    background: #fff;
}

.course-filter-tabs .nav-tabs {
    gap: 15px;
    justify-content: flex-start !important;
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 5px !important;
}
/* Primary Nav Tab (inactive) */
.nav-link-primary {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px 24px;
    color: #6b7280;
}

/* Active Nav Tab */
.nav-link-active {
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    padding: 8px 24px;
    color: #92400e;
}

/* Secondary Tabs */
.secondary-tabs {
    gap: 10px;
}

/* Filter Button Primary (Active) */
.filter-btn-primary {
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 20px;
    padding: 6px 20px;
    color: #92400e;
    font-size: 14px;
}

/* Filter Button Secondary (Inactive) */
.filter-btn-secondary {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 6px 20px;
    color: #6b7280;
    font-size: 14px;
}

/* Filter Icon */
.filter-icon {
    color: #fbbf24;
    margin-left: 5px;
}

/* Purple Action Button */
.btn-purple-action {
    background: #7c3aed;
    color: white;
    border-radius: 8px;
    padding: 8px 20px;
    font-size: 14px;
}

/* Secondary Action Button */
.btn-secondary-action {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px 20px;
    color: #6b7280;
    font-size: 14px;
}

/* Icon in Button */
.btn-icon-left {
    margin-left: 5px;
}

/* Search Input */
.search-input-custom {
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    padding: 8px 15px;
    font-size: 14px;
}

/* Courses Grid Section */
.courses-grid-section {
    padding: 40px 0 80px;
    background: #FFF;
    padding-top: 0;
}

.courses-row {
    row-gap: 30px;
}

/* Course Card Styles */
.course-card-container {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.course-card-container:hover {
    transform: translateY(-5px);
}

/* Course Image */
.course-image-custom {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Favorite Button */
.course-favorite-btn-custom {
    top: 10px;
    left: 10px;
    background: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.heart-icon-custom {
    color: #ef4444;
    font-size: 18px;
}

/* Course Badges */
.badge-purple-custom {
    top: 10px;
    right: 10px;
    background: #7c3aed;
    color: white;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
}

.badge-red-custom {
    top: 10px;
    right: 10px;
    background: #ef4444;
    color: white;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
}

.badge-green-custom {
    top: 10px;
    right: 10px;
    background: #10b981;
    color: white;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
}

.badge-orange-custom {
    top: 10px;
    right: 10px;
    background: #f59e0b;
    color: white;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
}

.badge-pink-custom {
    top: 10px;
    right: 10px;
    background: #ec4899;
    color: white;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
}

.badge-cyan-custom {
    top: 10px;
    right: 10px;
    background: #06b6d4;
    color: white;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
}

.badge-violet-custom {
    top: 10px;
    right: 10px;
    background: #8b5cf6;
    color: white;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
}

.badge-teal-custom {
    top: 10px;
    right: 10px;
    background: #14b8a6;
    color: white;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
}

.position-absolute {
    position: absolute !important;
    background: transparent !important;
    /* border: 1px solid #FFF !important; */
    font-weight: 500;
    border-radius: 20px;
}

.course-favorite-btn-custom {
    background: rgba(255, 255, 255, .7) !important;
    border-radius: 7px;
}

/* Play Button */
.play-button-overlay {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.play-button-circle {
    background: rgba(255,255,255,0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-icon-custom {
    font-size: 24px;
    color: #7c3aed;
    margin-right: 3px;
}

/* Course Content */
.course-content-custom {
    padding: 20px;
    padding-top: 10px;
    padding-bottom: 8px;
    position: relative;
}

/* Course Meta */
.course-meta-custom {
    margin-bottom: 0px;
}

.course-date-text {
    font-size: 12px;
    color: #6b7280;
}

/* Rating */
.star-icon-custom {
    color: #fbbf24;
    font-size: 14px;
}

.rating-number-custom {
    font-size: 14px;
    color: #1f2937;
    margin-right: 3px;
}

/* Course Title */
.course-title-custom {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
    line-height: 1.4;
    height: 39px;
}

/* Course Description */
.course-desc-text {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 15px;
    line-height: 1.5;
    height: 58.5px;
}

/* Course Meta Bottom */
.course-meta-bottom-custom {
    margin-bottom: 15px;
    justify-content: flex-start !important;
    gap: 20px;
}

.course-meta-item {
    font-size: 12px;
    color: #6b7280;
    display: flex;
    align-items: center;
}

.meta-icon-custom {
    margin-left: 5px;
}

/* Course Provider */
.course-provider-gap {
    gap: 8px;
}

.provider-avatar-custom {
    width: 30px !important;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.provider-name-custom {
    font-size: 13px;
    color: #1f2937;
    font-weight: 500;
}

.course-price-custom {
    font-size: 15px;
    color: #7c3aed;
    font-weight: 700;
    white-space: nowrap;
}

/* Course Action Button */
.course-action-btn {
    background: #7c3aed;
    color: white;
    padding: 5px 9px;
    border-radius: 8px;
    font-size: 13px;
    position: absolute;
    left: 0;
    bottom: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 0;
}

.arrow-icon-custom {
    margin-right: 5px;
    transform: rotate(45deg);
    display: flex;
    font-size: 17px;
}


/* ================================================
   Testimonials Section Styles
   ================================================ */

.testimonials-section {
    background: linear-gradient(135deg, #e0e7ff 0%, #f3e8ff 100%);
    padding: 40px 0;
    padding-bottom: 60px !important;
}

.testimonials-title {
    font-size: 42px;
    font-weight: 700;
    color: #000;
    margin-bottom: 0px;
}

.testimonials-description {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
}

.testimonials-slider {
    padding: 0 50px;
}

.testimonial-card {
    background: white;
    border-radius: 25px;
    padding: 35px 30px;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.testimonial-card .user_info {
    justify-content: flex-end;
    text-align: left;
}

.testimonial-quote-icon {
    position: absolute;
    top: 15px;
    right: 30px;
}

.testimonial-quote-icon i {
    font-size: 60px;
    color: #fbbf24;
    opacity: 0.3;
}

.testimonial-author-avatar-pink,
.testimonial-author-avatar-purple,
.testimonial-author-avatar-blue {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    flex-shrink: 0;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    text-align: center;
}

.testimonial-author-avatar-pink {
    background: linear-gradient(135deg, #ec4899, #f97316);
}

.testimonial-author-avatar-purple {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
}

.testimonial-author-avatar-blue {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
}

.testimonial-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0 auto;
    border-radius: 50% !important;
}

.testimonial-author-name {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-bottom: 2px;
}

.testimonial-author-role {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.testimonial-text {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
    text-align: left;
}

.testimonials-nav-btn-right {
    position: absolute;
    right: 17%;
    top: 50%;
    transform: translateY(-50%);
    background: #fbbf24;
    border: none;
    width: 43px;
    height: 43px;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.testimonials-nav-btn-right .testimonials-nav-icon-dark {
    color: #FFF;
}

.testimonials-nav-btn-left {
    position: absolute;
    left: 1%;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: none;
    width: 43px;
    height: 43px;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.testimonials-nav-btn-left .testimonials-nav-icon-light {
    color: #000;
}

.testimonials-nav-icon-dark {
    font-size: 20px;
    color: #000;
}

.testimonials-nav-icon-light {
    font-size: 20px;
    /* color: #fff; */
}

/* Course Icon Additional Colors */
.course-icon-orange i {
    color: #f59e0b;
}

.course-icon-blue i {
    color: #3b82f6;
}

/* Course Category Badge White */
.course-category-badge-white {
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    display: inline-block;
    padding: 6px 18px;
    border-radius: 18px;
    font-size: 12px;
    transform: rotate(-7deg);
}

/* Course Header Blue */
.course-header-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    /* padding: 30px 20px 20px; */
    position: relative;
}

@media (max-width: 768px) {

    .testimonials-title {
        font-size: 28px;
    }
    
    .testimonials-slider {
        padding: 0 0px;
    }
    
    .testimonials-nav-btn-right,
    .testimonials-nav-btn-left {
        display: none;
    }
}


/* ================================================
   Carousel Navigation Styles
   ================================================ */

.carousel-nav-left {
    position: absolute;
    left: -20px !important;
    right: auto !important;
    top: 50%;
    transform: translateY(-50%);
    z-index: 11;
}

.carousel-nav-right {
    position: absolute;
    left: auto !important;
    right: -20px !important;
    top: 50%;
    transform: translateY(-50%);
    z-index: 11;
}

.carousel-nav-btn {
    border: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* Left Arrow - Yellow/Orange Background */
.carousel-nav-left .carousel-nav-btn {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

.carousel-nav-left .carousel-nav-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.6);
}

.carousel-nav-left .carousel-nav-icon {
    font-size: 24px;
    color: white;
}

/* Right Arrow - White Background */
.carousel-nav-right .carousel-nav-btn {
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-nav-right .carousel-nav-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.carousel-nav-right .carousel-nav-icon {
    font-size: 24px;
    color: #fbbf24;
}

/* Carousel Pagination Dots */
.carousel-dot-active {
    width: 12px;
    height: 12px;
    background: #f59e0b;
    border-radius: 50%;
    display: block;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 50%;
    display: block;
}

@media (max-width: 768px) {
    .carousel-nav-left,
    .carousel-nav-right {
        display: none;
    }
}


/* ================================================
   Slick Slider for Testimonials Section
   ================================================ */

.testimonials-slider-wrapper {
    position: relative;
    padding: 0 80px;
}

.testimonials-slider .slick-list {
    margin: 0 -15px;
}

.testimonials-slider .slick-slide {
    padding: 0 15px;
}

.testimonials-slider .slick-slide > div {
    height: 100%;
}

/* Slick Arrows */
.testimonials-slider .slick-prev,
.testimonials-slider .slick-next {
    width: 55px;
    height: 55px;
    line-height: 55px;
    border-radius: 50%;
    z-index: 10;
    transition: all 0.3s ease;
}

.testimonials-slider .slick-prev {
    right: -60px;
    left: auto;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.testimonials-slider .slick-prev:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.testimonials-slider .slick-prev i {
    font-size: 24px;
    color: #fbbf24;
}

.testimonials-slider .slick-next {
    left: -60px;
    right: auto;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

.testimonials-slider .slick-next:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.6);
}

.testimonials-slider .slick-next i {
    font-size: 24px;
    color: white;
}

.testimonials-slider .slick-prev:before,
.testimonials-slider .slick-next:before {
    content: '';
    display: none;
}

/* Slick Dots */
.testimonials-slider .slick-dots {
    bottom: -50px;
    display: flex !important;
    justify-content: center;
    gap: 8px;
}

.testimonials-slider .slick-dots li {
    width: 12px;
    height: 12px;
    margin: 0;
}

.testimonials-slider .slick-dots li button {
    width: 12px;
    height: 12px;
    padding: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
}

.testimonials-slider .slick-dots li button:before {
    display: none;
}

.testimonials-slider .slick-dots li.slick-active button {
    background: #f59e0b;
}

/* Responsive */
@media (max-width: 992px) {
    .testimonials-slider-wrapper {
        padding: 0 60px;
    }
    
    .testimonials-slider .slick-prev {
        right: -50px;
    }
    
    .testimonials-slider .slick-next {
        left: -50px;
    }
}

@media (max-width: 768px) {

    .testimonials-slider-wrapper {
        padding: 0 0px;
    }
    
    .testimonials-slider .slick-prev,
    .testimonials-slider .slick-next {
        display: none !important;
    }

    .courses-slider .slick-slide {
        padding: 0 5px !important;
    }

    .courses-slider .slick-list {
        margin: 0 -2px !important;
    }

    .testimonials-slider .slick-slide {
        padding: 0 5px !important;
    }

    .testimonials-slider .slick-list {
        margin: 0 -2px !important;
    }
}


/* ================================================
   Slick Slider for Courses Section
   ================================================ */

.courses_card_container {
    position: relative;
    padding: 0 60px;
}

/* Fallback layout in case the Slick carousel JS fails to initialize:
   keeps the cards as a horizontal strip instead of a tall vertical stack.
   Slick adds .slick-initialized to the root on success, which turns this off. */
.courses-slider:not(.slick-initialized) {
    display: flex;
    overflow-x: auto;
    gap: 20px;
}

.courses-slider:not(.slick-initialized) > [data-category] {
    flex: 0 0 280px;
}

.courses-slider .slick-list {
    margin: 0 -15px;
    padding: 20px 0;
}

.courses-slider .slick-slide {
    padding: 0 15px;
}

.courses-slider .slick-slide > div {
    height: 100%;
}

/* Slick Arrows for Courses */
.courses-slider .slick-prev,
.courses-slider .slick-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    z-index: 10;
    transition: all 0.3s ease;
    top: 45%;
}

.courses-slider .slick-prev {
    right: -55px;
    left: auto;
    background: #FECA39;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 44px;
    height: 44px;
    line-height: 44px;
    border-radius: 4px;
}

.courses-slider .slick-prev:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.courses-slider .slick-prev i {
    font-size: 22px;
    color: #fff;
}

.courses-slider .slick-next {
    left: -55px;
    right: auto;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
    width: 44px;
    height: 44px;
    line-height: 44px;
    border-radius: 4px;
    background: #FFF;
    color: #FECA39;
}

.courses-slider .slick-next:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.6);
}

.courses-slider .slick-next i {
    font-size: 22px;
    color: #FECA39;
}

.courses-slider .slick-prev:before,
.courses-slider .slick-next:before {
    content: '';
    display: none;
}



/* Slick Dots for Courses */
.courses-slider .slick-dots {
    bottom: -40px;
    display: flex !important;
    justify-content: center;
    gap: 8px;
}

.courses-slider .slick-dots li {
    width: 12px;
    height: 12px;
    margin: 0;
}

.courses-slider .slick-dots li button {
    width: 12px;
    height: 12px;
    padding: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
}

.courses-slider .slick-dots li button:before {
    display: none;
}

.courses-slider .slick-dots li.slick-active button {
    background: #f59e0b;
}

/* Responsive */
@media (max-width: 992px) {
    .courses_card_container {
        padding: 0 50px;
    }
    
    .courses-slider .slick-prev {
        right: -45px;
    }
    
    .courses-slider .slick-next {
        left: -45px;
    }
}

@media (max-width: 768px) {
    .courses_card_container {
        padding: 0 0px;
    }

    .courses-slider .slick-prev,
    .courses-slider .slick-next {
        display: block !important;
        width: 36px;
        height: 36px;
        line-height: 36px;
        top: 40%;
    }

    .courses-slider .slick-prev {
        right: -8px;
    }

    .courses-slider .slick-next {
        left: -8px;
    }

    .courses-slider .slick-prev i,
    .courses-slider .slick-next i {
        font-size: 16px;
    }

    
}


/* Filter Input Wrapper */
.filter-input-wrapper {
    flex: 1;
    min-width: 200px;
}


/* ================================================
   Course Filter Tabs - Updated Design
   ================================================ */

/* Main Navigation Tabs */
.main-nav-tabs {
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #EEE;
    padding-bottom: 15px;
}

.main-nav-tabs-list {
    list-style: none;
    padding-left: 0;
    display: flex;
}


.main-nav-link {
    background: transparent;
    border: none;
    color: #6b7280;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-tabs .nav-link {
    padding-bottom: 0;
    padding-top: 0;
    padding-left: 10px;
    padding-right: 10px;
}

.main-nav-link.active {
    background: transparent;
    color: #1f2937;
    font-weight: normal;
    border: 0;
}

.main-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 2px;
}

.main-nav-link:hover {
    color: #1f2937;
    background: transparent;
    border: 0;
}

/* Filter Options Bar */
.filter-options-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background: transparent;
    border-radius: 12px;
}

.filter-left-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-right-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Filter Pill Buttons */
.filter-pill-btn {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 8px 20px;
    color: #6b7280;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filter-pill-btn:hover {
    border-color: #fbbf24;
    background: #fffbeb;
    color: #92400e;
}

.filter-pill-btn.active {
    background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
    border-color: #fbbf24;
    color: white;
    font-weight: 600;
}

/* Search Box */
.search-box-wrapper {
    position: relative;
}

.filter-search-input {
    padding: 8px 20px 8px 20px;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    font-size: 13px;
    min-width: 200px;
    transition: all 0.3s ease;
    height: 42px;
    background: #f7f8fb;
}

.filter-search-input:focus {
    border-color: #fbbf24;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1);
    outline: none;
}

.search-box-wrapper .search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 16px;
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 992px) {
    .main-nav-tabs {
        flex-wrap: wrap;
        gap: 15px;
    }

    .filter-options-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-left-group,
    .filter-right-group {
        justify-content: center;
        width: 100%;
    }

    .filter-search-input {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .main-nav-link {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .filter-pill-btn {
        font-size: 12px;
        padding: 6px 15px;
    }
    
    .filter-options-bar {
        padding: 15px 0px;
    }
}


/* ================================================
   Course Details Page Styles
   ================================================ */

/* Breadcrumb Area */
.breadcrumb-area {
    background: #f8f9fa;
    padding: 15px 0;
}

.breadcrumb-mb-0 {
    font-size: 13px;
}

.breadcrumb-item a {
    color: #9ca3af;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #1f2937;
}

/* Course Details Section */
.course-details-section {
    padding: 60px 0;
    background: #fff;
}

/* Course Header */
.course-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}

.course-header p {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Course Meta Bar */
.course-meta-bar {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.course-meta-top-row {
    gap: 25px;
    padding-bottom: 0;
    border-bottom: 0;
    margin-bottom: 0;
    justify-content: flex-start !important;
}

.meta-item-gap {
    gap: 6px;
}

.meta-item-gap-10 {
    gap: 10px;
}

.meta-icon-red {
    color: #ef4444;
    font-size: 20px;
}

.meta-icon-purple {
    color: #8b5cf6;
    font-size: 20px;
}

.meta-icon-gold {
    color: #fbbf24;
    font-size: 20px;
}

.meta-text-primary {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

.meta-text-secondary {
    font-size: 13px;
    color: #6b7280;
    margin-right: 5px;
}

.meta-divider {
    width: 1px;
    height: 35px;
    background: #d1d5db;
}

/* Avatars Group */
.avatars-group {
    margin-left: -6px;
}

.avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Rating Display */
.rating-number-large {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
}

.rating-icon-gold {
    color: #fbbf24;
    font-size: 20px;
}

.rating-icon-gold-small {
    color: #fbbf24;
    font-size: 16px;
}

/* Bottom Row Meta */
.meta-label {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 5px;
}

.meta-value-large {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
}

.instructor-info-gap {
    gap: 8px;
}

.instructor-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.instructor-name {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.rating-group-gap {
    gap: 5px;
}

.rating-count-text {
    font-size: 12px;
    color: #6b7280;
}

/* Action Buttons */
.btn-register-now {
    background: #7c3aed;
    color: white;
    padding: 12px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    border: 0;
    width: 165px;
}

.btn-watch-intro {
    background: white;
    color: #7c3aed;
    border: 1px solid #ddd7d7;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
}

.play-icon-margin {
    margin-left: 5px;
}

@media (max-width: 576px) {
    .course-header .d-flex.gap-2.mb-4 {
        flex-wrap: wrap;
    }

    .btn-register-now {
        width: 100%;
        text-align: center;
    }

    .btn-watch-intro {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .meta-divider {
        display: none;
    }

    .course-meta-top-row {
        gap: 15px;
    }
}

/* Learning Outcomes Section */
.learning-outcomes h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
}

.outcome-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px;
    display: flex;
    gap: 12px;
    padding-bottom: 5px;
    padding-top: 12px;
    height: 73px;
    align-items: center;
}

.outcome-icon-wrapper {
    flex-shrink: 0;
}

.outcome-icon-yellow {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #fef3c7;
    display: flex;
    align-items: center; justify-content: center;
}

.outcome-icon-yellow i {
    color: #f59e0b;
    font-size: 20px;
}

.outcome-icon-blue {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #dbeafe;
    display: flex;
    align-items: center;
    justify-content: center;
}

.outcome-icon-blue i {
    color: #3b82f6;
    font-size: 20px;
}

.outcome-icon-purple {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #f3e8ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.outcome-icon-purple i {
    color: #8b5cf6;
    font-size: 20px;
}

.outcome-title {
    font-size: 13px;
    font-weight: normal;
    color: #5A687D;
    margin-bottom: 5px;
}

.outcome-description {
    font-size: 12px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* Course Curriculum Section */
.course-curriculum h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
}

.curriculum-section {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

.section-header {
    background: #FFF;
    padding: 16px 20px;
    cursor: pointer;
}

.section-badge-complete {
    background: #dcfce7;
    color: #166534;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

.section-badge-progress {
    background: #fef3c7;
    color: #92400e;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.section-meta-text {
    font-size: 13px;
    color: #9ca3af;
}

.section-arrow-icon {
    font-size: 20px;
    color: #6b7280;
}

/* Section Lessons */
.section-lessons {
    padding: 0;
}

.lesson-item {
    padding: 12px 20px;
    border-top: 1px solid #e5e7eb;
}

.lesson-icon-complete {
    color: #10b981;
    font-size: 20px;
}

.lesson-icon-play {
    color: #3b82f6;
    font-size: 20px;
}

.lesson-title-text {
    font-size: 14px;
    color: #1f2937;
    font-weight: 500;
    margin-left: 10px;
    margin-right: 10px;
}

.lesson-badge-free {
    background: #dbeafe;
    color: #1e40af;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

.lesson-duration {
    font-size: 13px;
    color: #9ca3af;
}

/* Locked Section */
.curriculum-section-locked {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

.section-header-locked {
    background: #f3f4f6;
    padding: 16px 20px;
}

.section-badge-locked {
    background: #e5e7eb;
    color: #6b7280;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

.section-title-locked {
    font-size: 16px;
    font-weight: 500;
    color: #9ca3af;
    margin: 0;
}

.section-meta-locked {
    font-size: 13px;
    color: #d1d5db;
}

.info-icon-gray {
    font-size: 20px;
    color: #9ca3af;
}

/* Instructor Section */
.instructor-section h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
}

.instructor-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 25px;
}

.instructor-avatar-large {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    object-fit: cover;
}

.instructor-bio {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
}


.stat-icon-gold {
    color: #fbbf24;
    font-size: 18px;
}

.stat-icon-purple {
    color: #7c3aed;
    font-size: 18px;
}

.stat-icon-blue {
    color: #3b82f6;
    font-size: 18px;
}

.stat-number {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
}

.stat-label-text {
    font-size: 13px;
    color: #9ca3af;
}

.btn-view-profile {
    background: #7c3aed;
    color: white;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    border: 0;
}

/* Sidebar Course Card */
.course-sidebar-card {
    top: 20px;
}

.course-media {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.course-media img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.play-overlay {
    background: rgba(0,0,0,0.3);
}

.play-button-large {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-icon-large {
    font-size: 32px;
    color: #7c3aed;
    margin-right: 5px;
}

/* Course Info Card */
.course-info-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.course-info-card .row>* {
    padding-right: 3px;
    padding-left: 3px;
}

.info-icon-orange {
    color: #f59e0b;
    font-size: 22px;
}

.info-label {
    font-size: 10px;
    color: #9ca3af;
}

.trophy-icon {
    color: #f59e0b;
    font-size: 22px;
}

/* Course Resources */
.course-resources {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.course-resources h6 {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0px;
}

.resource-item-red {
    padding: 12px;
    /* background: #fef2f2; */
    border-radius: 8px;
    margin-bottom: 0 !important;
    margin-top: 10px;
}

.resource-item-blue {
    padding: 12px;
    /* background: #eff6ff; */
    border-radius: 8px;
}

.resource-icon-red {
    color: #ef4444;
    font-size: 28px;
}

.resource-icon-blue {
    color: #3b82f6;
    font-size: 28px;
}

.resource-title {
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.resource-size {
    font-size: 11px;
    color: #9ca3af;
}

.resource-lock-btn {
    background: transparent;
    border: 0;
    padding: 0;
}

.resource-lock-icon {
    color: #9ca3af;
    font-size: 20px;
}

.resource-free-badge {
    background: #dcfce7;
    color: #166534;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
}

/* Telegram Community Card */
.telegram-card {
    background: linear-gradient(135deg, #4176FA 0%, #031130 100%);
    border-radius: 12px;
    padding: 25px;
    color: white;
    position: relative;
    overflow: hidden;
}

.telegram-badge {
    background: #F0EBFD;
    color: #6838ED;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    border: 0;
    width: auto;
    max-width: 150px;
    margin-bottom: 0;
}

.telegram-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.telegram-icon-large {
    font-size: 40px;
    color: white;
}

.telegram-title {
    font-size: 20px;
    font-weight: normal;
    margin-bottom: 10px;
    color: white;
}

.telegram-description {
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
    opacity: 0.95;
}

/* Ask Teacher Card */
.ask-teacher-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.ask-teacher-card h6 {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.btn-new-question {
    background: #f3f4f6;
    color: #7c3aed;
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #e5e7eb;
}

.question-item-gray {
    background: #f3f4f6;
    border-radius: 10px;
    padding: 15px;
}

.question-item-yellow {
    background: #fef9e7;
    border-radius: 10px;
    padding: 15px;
}

.question-time {
    font-size: 11px;
    color: #9ca3af;
}

.question-badge-answered {
    background: #dbeafe;
    color: #1e40af;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
}

.question-badge-pending {
    background: #fef3c7;
    color: #92400e;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
}

.question-title {
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    text-align: right;
}

.question-answer {
    font-size: 11px;
    color: #6b7280;
    margin: 5px 0 0 0;
    text-align: right;
}

/* Knowledge Test Card */
.knowledge-test-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.knowledge-lock-badge {
    margin-bottom: 0;
}

.knowledge-icon-circle {
    width: 36px;
    height: 36px;
    background: #F0EBFD;
    color: #6838ED;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.knowledge-test-card h6 {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}

.knowledge-description {
    font-size: 12px;
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

.test-stats-combined-box {
    background: #fef9e7;
    padding: 15px 20px;
    border-radius: 10px;
    text-align: center;
}

.test-stat-inline {
    flex: 1;
}

.test-stats-divider {
    width: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 0 10px;
}

.test-stat-label {
    font-size: 11px;
    color: #9ca3af;
    margin-bottom: 5px;
}

.test-stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
}

.btn-start-test-small {
    background: white;
    color: #7c3aed;
    border: 2px solid #7c3aed;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Pricing Section */
.pricing-section {
    padding: 40px 0;
    background: #f9fafb;
}

.pricing-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}

.pricing-row-gap {
    row-gap: 30px;
}

/* Pricing Card */
.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    min-height: 635px;
}

.pricing-card-featured {
    background: linear-gradient(135deg, #050514 0%, #6838ED 100%);
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.3);
    position: relative;
    transform: scale(1.05);
    z-index: 2;
    min-height: 635px;
}


@media (max-width: 991px) {
    .pricing-card,
    .pricing-card-featured {
        min-height: 0;
        padding: 25px;
    }

    .pricing-card-featured {
        transform: none;
    }
}

.plan-badge {
    position: absolute;
    top: 20px;
    left: 20px;
}

.pricing-card h4 {
    font-size: 17px;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 10px;
    margin-top: 20px;
    line-height: 1.4;
}



.pricing-card-featured h4 {
    color: white;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.4;
    margin-top: 30px;
}

.pricing-card p {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 20px;
}

.pricing-card-featured p {
    color: rgba(255,255,255,0.9);
}

.price-display {
    display: flex;
    align-items: center;
}

.price-display h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    display: inline-block;
}

.pricing-card-featured .price-display h2 {
    color: white;
}

.price-display span {
    font-size: 20px;
    color: #6b7280;
}

.pricing-card-featured .price-display span {
    color: rgba(255,255,255,0.9);
}

.save-badge {
    background: #fef3c7;
    color: #92400e;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.save-badge-white {
    background: rgba(255,255,255,0.25);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Features List */
.features-list-item {
    padding: 10px 0;
}

.feature-text {
    font-size: 14px;
    color: #6b7280;
}

.feature-text-white {
    font-size: 14px;
    color: white;
}

.feature-text-disabled {
    font-size: 14px;
    color: #d1d5db;
}

.feature-check-gold {
    color: #fbbf24;
    font-size: 20px;
}

.feature-close-gray {
    color: #d1d5db;
    font-size: 20px;
}

.btn-subscribe {
    background: white;
    color: #7c3aed;
    border: 2px solid #7c3aed;
    padding: 12px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    margin-top: 10px;
    border: 2px solid #3846E4;    
}

.btn-subscribe-featured {
    background: white;
    color: #7c3aed;
    padding: 12px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    border: 0;
}


/* Additional Gap Utilities */
.gap-6 {
    gap: 6px;
}

.gap-12 {
    gap: 12px;
}

.gap-15 {
    gap: 15px;
}

.flex-1 {
    flex: 1;
}

/* Position Utilities */
.position-top-15-left-15 {
    top: 15px;
    left: 15px;
}

.margin-top-20 {
    margin-top: 20px;
}


/* ================================================
   Course Watch Page Styles
   ================================================ */

.main-question-box {
    padding: 1.5rem;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.main-question-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.chat-messages-container {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.chat-message {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.msg-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.msg-content {
    flex: 1;
}

.msg-bubble {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    margin-bottom: 0.5rem;
}

.student-bubble {
    background: #ede9fe;
}

.msg-bubble p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
}

.chat-input-container {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e5e7eb;
    background: white;
}

.chat-input-wrapper {
    position: relative;
}

.chat-input-field {
    width: 100%;
    padding: 0.75rem 1rem;
    padding-left: 140px;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    font-size: 0.875rem;
}

.input-icons {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 0.25rem;
}

.input-icon-btn {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 1.125rem;
    cursor: pointer;
    padding: 0.25rem;
}

/* ================================================
   Course Watch Fullwidth Redesign
   ================================================ */

/* Main Container */
.course-watch-fullwidth {
    background: #fff;
    min-height: 100vh;
}

/* Video Player Full Width */
.video-player-fullwidth {
    width: 100%;
    background: #D1E3FF;
    position: relative;
    padding: 15px;
    border-radius: 20px;
    margin-top: 25px;
}

.video-element {
    width: 100%;
    max-height: 70vh;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

/* Course Content Area */
.course-content-area {
    margin: 0 auto;
    padding: 0;
}

/* Tabs Fullwidth */
.course-tabs-fullwidth {
    border-bottom: 0;
    padding: 0;
    margin-bottom: 0;
    display: flex;
    justify-content: flex-start;
    gap: 0;
}

.course-tabs-fullwidth .nav-link {
    border-bottom: 3px solid transparent;
    color: #505D6F;
    padding: 11px 20px;
    font-weight: normal;
    background: transparent;
    transition: all 0.3s;
    border: 1px solid #C9CDD2;
    border-radius: 44px;
    margin-left: 15px;
    margin-right: 15px;
    margin-top: 20px;
}

.course-tabs-fullwidth .nav-link:first-child {
    margin-right: 0;
}

.course-tabs-fullwidth .nav-link:hover {
    color: #fbbf24;
}

.course-tabs-fullwidth .nav-link.active {
    color: #161616;
    background: #FECA39;
    border-color: #FECA39;
}

/* Units Content Fullwidth */
.units-content-fullwidth {
    padding: 2rem 0;
}

.units-header-fullwidth {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.units-header-fullwidth h5 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.progress-badge-green {
    background: #dcfce7;
    color: #166534;
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
}

.progress-badge-pending {
    background: #fef3c7;
    color: #92400e;
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Section Fullwidth */
.section-fullwidth {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    background: #fff;
}

.section-fullwidth.collapsed .section-lessons-list {
    display: none;
}

.section-fullwidth.locked {
    opacity: 0.6;
    cursor: not-allowed;
}

.section-header-fullwidth {
    background: #f9fafb;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s;
}

.section-header-fullwidth:hover {
    background: #f3f4f6;
}

.section-left-part {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.section-toggle-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.section-fullwidth.collapsed .section-toggle-btn i {
    transform: rotate(-90deg);
}

.section-details {
    flex: 1;
}

.section-name {
    margin: 0 0 0.25rem 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
}

.section-progress-text {
    font-size: 0.875rem;
    color: #9ca3af;
}

.section-time {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

/* Lessons List */
.section-lessons-list {
    background: #fff;
}

.lesson-row {
    padding: 1.25rem 1.5rem 1.25rem 4rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.lesson-row:hover {
    background: #f9fafb;
}

.lesson-info-part {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    flex: 1;
}

.check-icon {
    font-size: 1.5rem;
    color: #16a34a;
}

.play-icon {
    font-size: 1.5rem;
    color: #3b82f6;
}

.lesson-name {
    font-size: 1rem;
    color: #1f2937;
}

.lesson-meta-part {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.preview-label {
    background: #dbeafe;
    color: #1e40af;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
}

.lesson-duration {
    font-size: 0.875rem;
    color: #9ca3af;
    min-width: 25px;
    text-align: left;
}

/* Floating Ask Button */
.btn-ask-floating {
    background: #F0EBFD;
    color: #6838ED;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-weight: normal;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-ask-floating:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(124, 58, 237, 0.5);
}

.btn-ask-floating i {
    font-size: 1.25rem;
}

/* Responsive */
@media (max-width: 768px) {

    .lesson-title-text , .lesson-name {
        font-size: 12px;
    }

    .lesson-title-text {
        margin-left: 5px;
        margin-right: 5px;
    }

    .lesson-title-text , .lesson-name {
        max-width: 180px;
    }

    .course-tabs-fullwidth .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    .lesson-row {
        padding: 1rem;
        padding-right: 2.5rem;
    }
    
    .section-header-fullwidth {
        padding: 1rem;
    }
    
    .btn-ask-floating {
        bottom: 20px;
        left: 20px;
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }

    .pricing-section h2 {
        font-size: 22px;
    }

    .pricing-card h4 {
        font-size: 17px;
        margin-top: 0;
    }

    .exam-filter-bar {
        margin-top: 30px;
    }

    .lesson-row {
        padding-right: 7px;
        padding-left: 7px;
    }

    .lesson-info-part {
        gap: 5px;
    }

    .section-name {
        font-size: 15px;
    }

    .course_content h5 {
        font-size: 15px;
    }

    .units-header-fullwidth h5 {
        font-size: 16px;
    }

    .breadcrumb-item a , .breadcrumb-item.active {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .units-header-fullwidth {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .lesson-meta-part {
        flex-direction: column;
        align-items: flex-end;
        gap: 0.5rem;
    }
    
    .course-tabs-fullwidth {
        overflow-x: auto;
        flex-wrap: wrap;
    }
}


/* ================================================
   Quest Chat Column Styles
   ================================================ */

.quest_chat {
    padding: 0 15px;
    margin-top: 25px;
}

.quest-chat-container {
    background: white;
    border-radius: 24px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    height: calc(100vh - 20px);
    display: flex;
    flex-direction: column;
    border: 1px solid #E2E8F0;
}

.quest-chat-header {
    background: #fafafa;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 0;
    padding-top: 10px;
    padding-bottom: 10px;
}

.quest-chat-header h6 {
    color: #1f2937;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quest-chat-header h6::before {
    content: none;
    display: none;
}

.btn-close-quest {
    background: transparent;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    order: -1;
    display: none;
}

.btn-close-quest:hover {
    background: #f3f4f6;
}

.btn-close-quest i {
    color: #6b7280;
    font-size: 20px;
}

.quest-chat-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 24px;
    background: #fafafa;
    padding-top: 0;
}

.quest-chat-body .main-question-box {
    background: transparent;
    border-radius: 16px;
    padding: 0;
    margin-bottom: 24px;
    text-align: right;
    box-shadow: none;
    border: 0;
}

.quest-chat-body .main-question-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    line-height: 1.6;
}

.quest-chat-body .chat-messages-container {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 20px;
    padding: 10px;
    direction: rtl;
}

.quest-chat-body .chat-message {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

/* Student Message (Right aligned) */
.quest-chat-body .student-msg {
    justify-content: flex-start;
    flex-direction: row;
}

.quest-chat-body .student-msg .msg-avatar {
    order: 2;
}

.quest-chat-body .student-msg .msg-content {
    order: 2;
    text-align: right;
}

/* Teacher Message Left aligned (small bubble) */
.quest-chat-body .teacher-msg-left {
    justify-content: flex-end;
    flex-direction: row;
}

.quest-chat-body .teacher-msg-left .msg-avatar {
    order: 1;
}

.quest-chat-body .teacher-msg-left .msg-content {
    order: 2;
    text-align: left;
}

/* Teacher Message Full width */
.quest-chat-body .teacher-msg-full {
    justify-content: flex-end;
    flex-direction: row;
    align-items: flex-start;
}

.quest-chat-body .teacher-msg-full .msg-avatar {
    order: 1;
    margin-top: 8px;
}

.quest-chat-body .teacher-msg-full .msg-content {
    order: revert-layer;
    flex: 1;
    text-align: right;
}

.quest-chat-body .msg-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.quest-chat-body .msg-content {
    flex: 1;
    max-width: calc(100% - 52px);
}

.quest-chat-body .msg-bubble {
    padding: 8px;
    border-radius: 16px;
    display: inline-block;
    max-width: 100%;
    word-wrap: break-word;
}

.quest-chat-body .msg-bubble p {
    margin: 0;
    font-size: 11px;
    line-height: 1.6;
}

/* Student bubble - Gray */
.quest-chat-body .student-bubble {
    background: #e5e7eb;
    color: #374151;
    border-radius: 16px 16px 4px 16px;
}

/* Teacher bubble left - Gray */
.quest-chat-body .teacher-bubble-left {
    background: #e5e7eb;
    color: #374151;
    border-radius: 16px 16px 16px 4px;
}

/* Teacher bubble full - Purple gradient */
.quest-chat-body .teacher-bubble-full {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(124, 58, 237, 0.15) 100%);
    color: #1f2937;
    border-radius: 16px;
    padding: 8px;
    width: 100%;
    max-width: 100%;
}

.quest-chat-body .teacher-bubble-full p {
    font-size: 11px;
    line-height: 1.6;
    text-align: right;
    font-weight: normal;
}

.quest-chat-body .teacher-bubble-full strong {
    color: #7c3aed;
    font-weight: 600;
}

.quest-chat-body .chat-input-container {
    background: #f3f4f6;
    border-radius: 24px;
    padding: 20px;
    box-shadow: none;
}



.quest-chat-body .chat-input-wrapper {
    background: white;
    border: 2px solid #9333ea;
    border-radius: 20px;
    padding: 16px 20px;
    margin-bottom: 0;
    display: flex;
    flex-direction: row;
    gap: 0;
}

.quest-chat-body .chat-input-field {
    width: 100%;
    border: none;
    background: transparent;
    padding: 0;
    font-size: 15px;
    outline: none;
    color: #9333ea;
    text-align: right;
    direction: rtl;
    font-weight: 500;
}

.quest-chat-body .chat-input-field::placeholder {
    color: #c084fc;
    opacity: 1;
}

.quest-chat-body .chat-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.quest-chat-body .input-icons {
    display: flex;
    justify-content: space-between;
    position: relative;
    width: 100%;
    margin-top: 23px;
    align-items: center;
}

.quest-chat-body .input-icon-btn {
    background: white;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 12px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
}

.quest-chat-body .input-icon-btn i {
    font-size: 20px;
    color: #6b7280;
}

.quest-chat-body .input-icon-btn:hover {
    background: #f9fafb;
    transform: translateY(-2px);
    border-color: transparent;
}

.quest-chat-body .input-icon-btn:hover i {
    color: #7c3aed;
}

/* Emoji Button - Yellow */
.quest-chat-body .emoji-btn {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.quest-chat-body .emoji-btn i {
    color: white;
    font-size: 22px;
}

.quest-chat-body .emoji-btn:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    transform: translateY(-2px);
}

/* Images Button with Preview */
.quest-chat-body .images-btn {
    background: #6066841A;
    width: 110px;
    padding: 8px;
    justify-content: space-between;
    margin-right: 12px;
}

.quest-chat-body .images-count {
    color: #7c3aed;
    font-weight: 600;
    font-size: 14px;
    margin-right: 8px;
}

.quest-chat-body .images-preview {
    display: flex;
    gap: 4px;
}

.quest-chat-body .images-preview img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid white;
}

/* Attach Button */
.quest-chat-body .attach-btn i {
    font-size: 22px;
    color: #6b7280;
}

.quest-chat-body .ask-link-wrapper {
    order: 1;
    text-align: left;
}

.quest-chat-body .ask-teacher-link {
    color: #7c3aed;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(124, 58, 237, 0.12) 100%);
    padding: 12px 20px;
    border-radius: 16px;
}

.quest-chat-body .ask-teacher-link:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(124, 58, 237, 0.2) 100%);
    color: #6b2dd9;
}

.quest-chat-body .ask-teacher-link i {
    font-size: 22px;
}
.quest-chat-body .ask-teacher-link {
    color: #7c3aed;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    padding: 8px 16px;
    border-radius: 12px;
}

.quest-chat-body .ask-teacher-link:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(124, 58, 237, 0.2) 100%);
    color: #6b2dd9;
}

.quest-chat-body .ask-teacher-link i {
    font-size: 18px;
}

/* Smooth transition for column changes */
.course_content,
.quest_chat {
    transition: all 0.3s ease;
}

/* Scrollbar Styles */
.quest-chat-body .chat-messages-container::-webkit-scrollbar {
    width: 6px;
}

.quest-chat-body .chat-messages-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.quest-chat-body .chat-messages-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.quest-chat-body .chat-messages-container::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Responsive */
@media (max-width: 768px) {
/*     
    .quest_chat {
        display: none !important;
    } */
    
    .course_content.col-md-8 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}



/* ================================================
   Files List Styles (مذكرات و ملفات Tab)
   ================================================ */

.files-list-container {
    padding: 20px 0;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #ffffff;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.file-item:hover {
    border-color: #6366f1;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.1);
}

.file-item.file-locked {
    opacity: 0.6;
    cursor: not-allowed;
}

.file-info-part {
    display: flex;
    align-items: center;
    gap: 15px;
}

.file-icon {
    font-size: 32px;
    min-width: 32px;
}

.file-icon.pdf-icon {
    color: #ef4444;
}

.file-icon.doc-icon {
    color: #3b82f6;
}

.file-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.file-name {
    font-size: 15px;
    font-weight: 500;
    color: #1f2937;
}

.file-size {
    font-size: 13px;
    color: #9ca3af;
}

.file-action-part {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lock-icon-circle {
    width: 34px;
    height: 34px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lock-icon {
    font-size: 18px;
    color: #9ca3af;
}

.free-badge {
    color: #6838ED;
    font-size: 14px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .file-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .file-action-part {
        width: 100%;
        justify-content: flex-end;
    }
}



/* ================================================
   Quiz Page Styles - Final Design
   ================================================ */

/* Page Wrapper */
.quiz-page-wrapper {
    background: #f8f9fa;
    min-height: 100vh;
    padding: 25px 0 60px;
}

/* Breadcrumb */
.quiz-breadcrumb-area {
    margin-bottom: 25px;
}

.quiz-breadcrumb-list {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 13px;
}

.quiz-breadcrumb-list .breadcrumb-item + .breadcrumb-item::before {
    content: '<';
    color: #9ca3af;
    padding: 0 10px;
}

.quiz-breadcrumb-list .breadcrumb-item a {
    color: #9ca3af;
    text-decoration: none;
}

.quiz-breadcrumb-list .breadcrumb-item a:hover {
    color: #6b7280;
}

.quiz-breadcrumb-list .breadcrumb-item.active {
    color: #1f2937;
}

/* Layout Row */
.quiz-layout-row {
    align-items: stretch;
}

/* Main Content */
.quiz-main-content {
    margin-bottom: 30px;
}

/* Quiz Content Box */
.quiz-content-box {
    background: white;
    border-radius: 20px;
    padding: 45px 50px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    min-height: 500px;
}

.quiz-box-title {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    margin-bottom: 12px;
}

.quiz-box-desc {
    font-size: 13px;
    color: #6b7280;
    text-align: center;
    margin-bottom: 30px;
}

/* Question Area */
.quiz-question-area {
    margin-bottom: 40px;
}

.quiz-question-title {
    font-size: 19px;
    font-weight: 600;
    color: #1f2937;
    text-align: center;
    line-height: 1.7;
    margin-bottom: 30px;
}

.quiz-answer-hint {
    font-size: 12px;
    color: #9ca3af;
    text-align: center;
    margin-bottom: 20px;
}

/* Colored Answers */
.quiz-colored-answers {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quiz-answer-colored {
    padding: 18px 25px;
    border-radius: 10px;
    text-align: center;
    font-size: 15px;
    color: #1f2937;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.quiz-answer-colored:hover {
    transform: translateX(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.quiz-answer-yellow-dark {
    background: #FEFCE8;
    border: 1px solid #FDE047;
}

.quiz-answer-yellow-light {
    background: #FFFBEB;
    border: 1px solid #FEF3C7;
}

.quiz-answer-blue-light {
    background: #EFF6FF;
    border: 1px solid #DBEAFE;
}

.quiz-answer-gray {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
}

/* Selectable quiz answers with checkboxes */
.quiz-selectable {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 25px;
}

.quiz-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.quiz-answer-label {
    flex: 1;
    text-align: center;
    cursor: pointer;
    margin: 0;
    font-size: 15px;
    color: #1f2937;
    font-weight: 500;
}

.quiz-check-icon {
    font-size: 24px;
    color: #d1d5db;
    transition: all 0.3s ease;
    position: absolute;
    left: 20px;
}

.quiz-selectable.selected {
    border-width: 2px;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.15);
}

.quiz-selectable.selected.quiz-answer-yellow-dark {
    border-color: #fbbf24;
    background: #fef9e7;
}

.quiz-selectable.selected.quiz-answer-yellow-light {
    border-color: #fbbf24;
    background: #fff8dc;
}

.quiz-selectable.selected.quiz-answer-blue-light {
    border-color: #3b82f6;
    background: #dbeafe;
}

.quiz-selectable.selected.quiz-answer-gray {
    border-color: #6b7280;
    background: #f3f4f6;
}

.quiz-selectable.selected .quiz-check-icon {
    color: #8b5cf6;
}

/* Answer Display Box (for flashcard) */
.quiz-answer-display-box {
    background: #f3f4f6;
    border-radius: 14px;
    padding: 28px;
    text-align: center;
}

.quiz-answer-display-text {
    font-size: 15px;
    color: #1f2937;
    line-height: 1.7;
    margin-bottom: 22px;
}

.quiz-progress-line-bar {
    width: 100%;
    height: 5px;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.quiz-progress-line-fill {
    height: 100%;
    width: 70%;
    background: linear-gradient(90deg, #8b5cf6 0%, #7c3aed 100%);
    border-radius: 10px;
    animation: progressAnim 1.5s ease-out;
}

@keyframes progressAnim {
    from { width: 0%; }
    to { width: 70%; }
}

/* Action Buttons */
.quiz-action-btns {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.quiz-btn-confirm {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    border: none;
    padding: 15px 42px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quiz-btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(139, 92, 246, 0.35);
}

.quiz-btn-cancel {
    background: white;
    color: #6b7280;
    border: 2px solid #e5e7eb;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quiz-btn-cancel:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

/* Sidebar Section */
.quiz-sidebar-section {
    margin-bottom: 30px;
}

/* Quiz Types List */
.quiz-types-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Quiz Type Item */
.quiz-type-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quiz-type-item:hover {
    background: #fafafa;
    border-color: #d1d5db;
    transform: translateX(2px);
}

.quiz-type-item.active {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(124, 58, 237, 0.08) 100%);
    border-color: #8b5cf6;
    border-width: 2px;
}

.quiz-item-arrow {
    font-size: 20px;
    color: #d1d5db;
    order: 3;
    flex-shrink: 0;
}

.quiz-type-item.active .quiz-item-arrow {
    color: #8b5cf6;
}

.quiz-item-info {
    flex: 1;
    text-align: right;
    order: 2;
    padding: 0 15px;
}

.quiz-item-info h5 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.quiz-item-info p {
    margin: 0;
    font-size: 12px;
    color: #6b7280;
    line-height: 1.4;
}

.quiz-item-icon {
    width: 48px;
    height: 48px;
    background: #f3f4f6;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    order: 1;
}

.quiz-type-item.active .quiz-item-icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.quiz-item-icon i {
    font-size: 24px;
    color: #6b7280;
}

.quiz-type-item.active .quiz-item-icon i {
    color: white;
}

/* Result Modal */
.quiz-result-modal {
    border-radius: 24px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 30px 20px;
}

.quiz-result-modal .modal-body {
    padding: 20px;
}

.quiz-result-heading {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 30px;
}

.quiz-result-score-box {
    margin: 35px 0;
}

.quiz-result-percentage {
    font-size: 80px;
    font-weight: 700;
    color: #8b5cf6;
    margin: 0;
    line-height: 1;
    transition: color 0.3s ease;
}

.quiz-result-text {
    font-size: 14px;
    color: #9ca3af;
    margin: 0;
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 991px) {
    .quiz-content-box {
        padding: 35px 25px;
    }
    
    .quiz-box-title {
        font-size: 21px;
    }
    
    .quiz-question-title {
        font-size: 17px;
    }
}

@media (max-width: 576px) {
    .quiz-content-box {
        padding: 28px 18px;
    }
    
    .quiz-box-title {
        font-size: 19px;
    }
    
    .quiz-question-title {
        font-size: 15px;
    }
    
    .quiz-action-btns {
        flex-direction: column;
    }
    
    .quiz-btn-confirm,
    .quiz-btn-cancel {
        width: 100%;
    }
    
    .quiz-result-percentage {
        font-size: 62px;
    }
    
    .quiz-answer-colored {
        padding: 15px 20px;
        font-size: 14px;
    }
}


/* Radio Button Quiz Answers */
.quiz-radio-answers {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quiz-radio-option {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.quiz-radio-option:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.quiz-radio-option.selected {
    background: #fef9e7;
    border-color: #fbbf24;
    border-width: 2px;
}

.quiz-radio-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.quiz-radio-label {
    flex: 1;
    text-align: center;
    cursor: pointer;
    margin: 0;
    font-size: 15px;
    color: #1f2937;
    font-weight: 500;
}

.quiz-radio-circle {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.quiz-radio-circle i {
    font-size: 26px;
    color: #d1d5db;
    transition: all 0.3s ease;
}

.quiz-radio-option.selected .quiz-radio-circle i {
    color: #fbbf24;
}

.quiz-radio-selectable {
    cursor: pointer;
}

/* Responsive for radio options */
@media (max-width: 576px) {
    .quiz-radio-option {
        padding: 15px 20px;
    }
    
    .quiz-radio-label {
        font-size: 14px;
    }
    
    .quiz-radio-circle i {
        font-size: 24px;
    }
}


/* Flashcard Quiz Answer Box */
.quiz-flashcard-answer-box {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(124, 58, 237, 0.05) 100%);
    border-radius: 16px;
    padding: 30px;
    position: relative;
}

.quiz-flashcard-textarea {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    resize: none;
    font-size: 16px;
    color: #1f2937;
    line-height: 1.8;
    font-family: inherit;
    text-align: center;
    padding: 10px;
    min-height: 120px;
}

.quiz-flashcard-textarea::placeholder {
    color: #9ca3af;
    opacity: 0.7;
}

.quiz-flashcard-progress-wrapper {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

.quiz-flashcard-progress-bar {
    width: 80%;
    height: 6px;
    background: rgba(229, 231, 235, 0.5);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.quiz-flashcard-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #8b5cf6 0%, #7c3aed 100%);
    border-radius: 10px;
    transition: width 0.3s ease, background 0.3s ease;
}

/* Scrollbar for textarea */
.quiz-flashcard-textarea::-webkit-scrollbar {
    width: 6px;
}

.quiz-flashcard-textarea::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.quiz-flashcard-textarea::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.3);
    border-radius: 10px;
}

.quiz-flashcard-textarea::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, 0.5);
}

/* Responsive */
@media (max-width: 576px) {
    .quiz-flashcard-answer-box {
        padding: 20px;
    }
    
    .quiz-flashcard-textarea {
        font-size: 14px;
        min-height: 100px;
    }
    
    .quiz-flashcard-progress-bar {
        width: 100%;
    }
}


/* Rich Text Editor Wrapper */
.quiz-editor-wrapper {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

/* Toolbar */
.quiz-editor-toolbar {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.toolbar-group {
    display: flex;
    align-items: center;
    gap: 4px;
}

.toolbar-btn {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #6b7280;
}

.toolbar-btn:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #1f2937;
}

.toolbar-btn.active {
    background: #dbeafe;
    border-color: #3b82f6;
    color: #3b82f6;
}

.toolbar-btn i {
    font-size: 16px;
}

.toolbar-select {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 13px;
    color: #6b7280;
    cursor: pointer;
    min-width: 120px;
    height: 32px;
}

.toolbar-select-small {
    min-width: 80px;
}

.toolbar-select:hover {
    border-color: #d1d5db;
}

.toolbar-select:focus {
    outline: none;
    border-color: #3b82f6;
}

.toolbar-divider {
    width: 1px;
    height: 24px;
    background: #e5e7eb;
    margin: 0 4px;
}

/* Rich Editor Area */
.quiz-rich-editor {
    min-height: 250px;
    max-height: 400px;
    overflow-y: auto;
    padding: 20px;
    font-size: 15px;
    line-height: 1.7;
    color: #1f2937;
    direction: rtl;
    text-align: right;
    outline: none;
}

.quiz-rich-editor:empty:before {
    content: attr(data-placeholder);
    color: #9ca3af;
    pointer-events: none;
}

.quiz-rich-editor:focus {
    background: #fafafa;
}

/* Editor content styles */
.quiz-rich-editor p {
    margin-bottom: 10px;
}

.quiz-rich-editor ul,
.quiz-rich-editor ol {
    padding-right: 25px;
    margin-bottom: 10px;
}

.quiz-rich-editor li {
    margin-bottom: 5px;
}

.quiz-rich-editor strong {
    font-weight: 700;
}

.quiz-rich-editor em {
    font-style: italic;
}

.quiz-rich-editor u {
    text-decoration: underline;
}

.quiz-rich-editor hr {
    border: none;
    border-top: 2px solid #e5e7eb;
    margin: 15px 0;
}

/* Scrollbar for editor */
.quiz-rich-editor::-webkit-scrollbar {
    width: 8px;
}

.quiz-rich-editor::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.quiz-rich-editor::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.quiz-rich-editor::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Responsive */
@media (max-width: 768px) {
    .quiz-editor-toolbar {
        padding: 8px 10px;
        gap: 6px;
    }
    
    .toolbar-btn {
        width: 30px;
        height: 30px;
    }
    
    .toolbar-btn i {
        font-size: 14px;
    }
    
    .toolbar-select {
        min-width: 100px;
        font-size: 12px;
        padding: 4px 8px;
    }
    
    .toolbar-select-small {
        min-width: 70px;
    }
    
    .quiz-rich-editor {
        min-height: 200px;
        padding: 15px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .quiz-editor-toolbar {
        gap: 4px;
    }
    
    .toolbar-divider {
        display: none;
    }
    
    .toolbar-btn {
        width: 28px;
        height: 28px;
    }
    
    .toolbar-select {
        min-width: 80px;
    }
}


/* ================================================
   Cart Page Styles
   ================================================ */

.cart-page-wrapper {
    min-height: 600px;
}

.cart-main-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #1f2937;
    text-align: right;
}

/* Cart Item Card */
.cart-item-card {
    background: #ffffff;
    border: 2px solid #f3f4f6;
    border-radius: 24px;
    padding: 0;
    margin-bottom: 24px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.cart-item-card:hover {
    border-color: #e5e7eb;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.cart-item-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 30px;
}

.cart-item-content {
    flex: 1;
    min-width: 0;
}

.cart-item-price-col {
    flex-shrink: 0;
    text-align: center;
    min-width: 110px;
}

.cart-item-price {
    font-size: 26px;
    font-weight: 700;
    color: #1f2937;
    white-space: nowrap;
}

.cart-item-price-period {
    font-size: 13px;
    color: #9ca3af;
    margin-top: 4px;
}

.cart-item-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-item-desc {
    font-size: 13px;
    color: #9ca3af;
    margin: 6px 0 18px;
    text-align: right;
}

.cart-item-badge {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #ffffff;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
}

.cart-favorite-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px;
}

.cart-favorite-btn i {
    color: #fbbf24;
    font-size: 20px;
}

.cart-favorite-btn:hover i {
    color: #f59e0b;
    transform: scale(1.15);
}

.price-display {
    display: inline-block;
}

/* Checkout Summary Card */
.checkout-summary-card {
    background: #ffffff;
    border: 2px solid #f3f4f6;
    border-radius: 24px;
    padding: 32px;
    position: sticky;
    top: 100px;
}

/* Discount Section (used on the simple checkout page) */
.discount-section {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    justify-content: flex-end;
}

.discount-badge {
    background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 16px;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    min-width: 80px;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}

/* Subtotal / Discount Summary Rows */
.summary-rows {
    margin-bottom: 22px;
}

.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.summary-row:last-child {
    margin-bottom: 0;
}

.summary-label {
    font-size: 14px;
    color: #6b7280;
}

.summary-value {
    font-size: 14px;
    font-weight: 700;
    color: #1f2937;
    white-space: nowrap;
}

/* Total Section */
.total-section {
    text-align: right;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px solid #f3f4f6;
}

.total-label {
    font-size: 18px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 12px;
}

.total-price {
    font-size: 36px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}

.total-old-price {
    font-size: 16px;
    color: #9ca3af;
    text-decoration: line-through;
    margin-bottom: 15px;
}

.vat-notice {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.7;
    text-align: right;
    margin: 0;
}

.estimate-link {
    color: #d97706;
    text-decoration: underline;
    font-weight: 600;
}

.estimate-link:hover {
    color: #b45309;
}

/* Payment Method Section */
.payment-method-section {
    margin-bottom: 25px;
}

.payment-section-title {
    position: relative;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 20px;
    padding-right: 14px;
    text-align: right;
}

.payment-section-title::before {
    content: '';
    position: absolute;
    right: 0;
    top: 2px;
    bottom: 2px;
    width: 3px;
    border-radius: 2px;
    background: #6838ED;
}

.payment-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.payment-option:hover {
    border-color: #7c3aed;
}

.payment-option-selected {
    background: #F1EEFC;
    border-color: transparent;
}

.payment-option-selected:hover {
    border-color: transparent;
}

.payment-option-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: right;
}

.payment-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
}

.payment-card-expiry {
    font-size: 12px;
    color: #9ca3af;
}

.payment-card-icon img {
    width: 40px;
    height: auto;
}

.payment-option-title {
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
}

.payment-option-subtitle {
    display: block;
    font-size: 12px;
    color: #9ca3af;
    margin-top: 4px;
}

.payment-option-icon {
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}

.apple-pay-badge {
    color: #000000;
}

.paypal-badge {
    font-weight: 800;
}

.paypal-pay {
    color: #003087;
}

.paypal-pal {
    color: #009cde;
}

/* Checkout Button */
.btn-checkout {
    background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
    background: linear-gradient(135deg, #6d28d9 0%, #5b21b6 100%);
}

/* Responsive Design */
@media (max-width: 991px) {
    .checkout-summary-card {
        position: relative;
        top: 0;
        margin-top: 30px;
    }
}

@media (max-width: 767px) {
    .cart-main-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .cart-item-flex {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        gap: 16px;
    }

    .cart-item-price-col {
        text-align: right;
        border-top: 1px solid #f3f4f6;
        padding-top: 16px;
    }

    .cart-item-price {
        font-size: 24px;
    }

    .checkout-summary-card {
        padding: 24px;
    }

    .total-price {
        font-size: 32px;
    }

    .discount-section {
        justify-content: center;
    }
}


/* ================================================
   Package Radio Button Styles (Cart Page)
   ================================================ */

/* Hide default radio button */
.package-radio {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 23px;
    height: 23px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    background: white;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    padding: 0;
}

/* Radio button hover state */
.package-radio:hover {
    border-color: #fbbf24;
}

/* Radio button checked state */
.package-radio:checked {
    background: #fbbf24;
    border-color: #fbbf24;
}

/* Checkmark icon when checked */
.package-radio:checked::after {
    content: '\2713';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 18px;
    font-weight: bold;
}

/* Package name label */
.package-name {
    font-size: 19px;
    font-weight: 700;
    color: #1f2937;
    cursor: pointer;
    margin: 0;
    transition: color 0.3s ease;
}

/* Package name hover */
.package-radio:hover + .package-name {
    color: #6838ED;
}


/* ================================================
   Cart Features Horizontal Layout
   ================================================ */

/* Container for horizontal features */
.cart-features-horizontal {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    direction: rtl;
    justify-content: flex-start;
}

/* Individual feature item */
.feature-horizontal {
    display: flex;
    align-items: center;
    gap: 8px;
    direction: rtl;
}

/* Feature text */
.feature-text {
    font-size: 14px;
    color: #4b5563;
    font-weight: 400;
    margin-right: 10px;
}

/* Feature circle */
.feature-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid;
}

/* Active feature circle */
.feature-circle.feature-active {
    background: #ffffff;
    border-color: #D9A441;
}

.feature-circle.feature-active i {
    color: #D9A441;
    font-size: 13px;
    font-weight: bold;
}

/* Inactive feature circle */
.feature-circle.feature-inactive {
    background: white;
    border-color: #e5e7eb;
}

.feature-circle.feature-inactive i {
    color: #d1d5db;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .cart-features-horizontal {
        justify-content: flex-start;
    }
}


/* ================================================
   Account Settings Page (Profile)
   ================================================ */

.account-settings-page {
    padding: 40px 0 80px;
    background-color: #f8f9fb;
}

/* Breadcrumb */
.account-breadcrumb-nav {
    margin-bottom: 10px;
}

.account-breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

.account-breadcrumb .breadcrumb-item a {
    color: #9ca3af;
    text-decoration: none;
}

.account-breadcrumb .breadcrumb-item.active {
    color: #1f2937;
}

.account-page-title {
    color: #1f2937;
    font-weight: 700;
    font-size: 24px;
    text-align: right;
    margin-bottom: 25px;
}

.account-settings-row {
    align-items: stretch;
}

/* Sidebar */
.account-sidebar {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.account-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.account-menu li + li {
    margin-top: 10px;
}

.account-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: #6b7280;
    padding: 14px 16px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
}

.account-menu-link i {
    font-size: 20px;
}

.account-menu-link:hover {
    background: #f0eeff;
    color: #6838ED;
}

.account-menu-link.active {
    background: #f0eeff;
    color: #6838ED;
}

.account-menu-logout {
    margin-top: auto;
    padding-top: 20px;
}

.account-logout-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: #ef4444;
    background: #fef2f2;
    padding: 14px 16px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
}

.account-logout-link i {
    font-size: 20px;
}

.account-logout-link:hover {
    background: #fee2e2;
    color: #dc2626;
}

/* Main Content Card */
.account-content-card {
    background: white;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: 100%;
}

/* Avatar */
.account-avatar-row {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 30px;
}

.account-avatar-wrapper {
    position: relative;
    display: inline-block;
}

.account-avatar-img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    background: #ffd966;
    border: 4px solid #ffd966;
    display: block;
}

.account-avatar-edit-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #6838ED;
    border: 3px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.account-avatar-edit-btn i {
    color: white;
    font-size: 15px;
}

/* Sections */
.account-section {
    margin-bottom: 30px;
}

.account-section-title {
    color: #9ca3af;
    font-size: 14px;
    text-align: right;
    margin-bottom: 18px;
}

.account-fields-row {
    row-gap: 20px;
}

.account-form-group {
    text-align: right;
}

.account-form-label {
    display: block;
    color: #6b7280;
    font-size: 13px;
    margin-bottom: 8px;
}

/* Input Group */
.account-input-group {
    display: flex;
    align-items: stretch;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.account-input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 12px 15px;
    text-align: right;
    font-size: 14px;
    color: #1f2937;
}

.account-input:focus {
    outline: none;
}

.account-input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    color: #9ca3af;
    font-size: 18px;
    border-right: 1px solid #e5e7eb;
    white-space: nowrap;
}

.account-input-group .account-input-icon:last-child {
    border-right: 0;
    border-left: 1px solid #e5e7eb;
}

.account-phone-code {
    gap: 6px;
    font-size: 13px;
    color: #6b7280;
}

.account-phone-flag {
    width: 22px;
    height: 15px;
    border-radius: 2px;
    object-fit: cover;
}

/* Select */
.account-select-wrapper {
    position: relative;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.account-select {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 12px 40px 12px 15px;
    text-align: right;
    font-size: 14px;
    color: #1f2937;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.account-select:focus {
    outline: none;
}

.account-select-icon {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 18px;
    pointer-events: none;
}

/* Delete Account */
.account-delete-row {
    text-align: left;
    padding-top: 10px;
}

.account-delete-link {
    color: #ef4444;
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;
}

.account-delete-link:hover {
    color: #dc2626;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 991px) {
    .account-sidebar {
        margin-bottom: 20px;
    }

    .account-content-card {
        padding: 25px;
    }

    .account-avatar-row {
        justify-content: center;
    }
}


/* ================================================
   Account Settings - My Courses List
   ================================================ */

.course-list-item {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 20px;
    background: white;
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.course-list-image-wrap {
    flex-shrink: 0;
    width: 300px;
}

.course-list-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

.course-list-lang-badge {
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.65);
    color: white;
    padding: 5px 14px;
    border-radius: 14px;
    font-size: 11px;
}

.course-list-content {
    flex: 1;
    min-width: 0;
    text-align: right;
    padding: 5px 10px;
    display: flex;
    flex-direction: column;
}

.course-list-date {
    font-size: 12px;
    color: #9ca3af;
}

.course-list-rating {
    font-size: 13px;
    color: #1f2937;
    font-weight: 600;
}

.course-list-rating i {
    color: #fbbf24;
    font-size: 14px;
}

.course-list-title {
    font-size: 17px;
    font-weight: 700;
    color: #1f2937;
    margin: 10px 0 8px;
}

.course-list-desc {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-list-meta {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
    margin-bottom: auto;
    padding-bottom: 12px;
}

.course-list-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #6b7280;
}

.course-list-meta-item i {
    color: #6838ED;
    font-size: 15px;
}

.course-list-instructor {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.course-list-instructor-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.course-list-instructor-name {
    font-size: 13px;
    color: #1f2937;
    font-weight: 500;
}

@media (max-width: 767px) {
    .course-list-item {
        flex-direction: column;
    }

    .course-list-image-wrap {
        width: 100%;
    }

    .course-list-item .course-btn-purple {
        align-self: flex-end;
        border-radius: 12px !important;
    }
}


/* ================================================
   Account Settings - Change Password
   ================================================ */

.account-section-heading {
    color: #1f2937;
    font-weight: 700;
    font-size: 18px;
    text-align: right;
    margin-bottom: 25px;
}

.account-form-group-full {
    margin-bottom: 20px;
}

.account-input-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    color: #9ca3af;
    font-size: 18px;
    border: 0;
    border-right: 1px solid #e5e7eb;
    background: transparent;
    cursor: pointer;
}

.account-forgot-password-row {
    text-align: right;
    margin-bottom: 25px;
}

.account-forgot-password-link {
    color: #6838ED;
    font-size: 13px;
    text-decoration: none;
    font-weight: 500;
}

.account-forgot-password-link:hover {
    text-decoration: underline;
    color: #5a2bc4;
}

.account-reset-btn-row {
    text-align: left;
}

.account-reset-btn {
    background: #f3f4f6;
    color: #6b7280;
    padding: 10px 25px;
    border-radius: 10px;
    border: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.account-reset-btn:hover {
    background: #e5e7eb;
    color: #374151;
}

.account-update-btn-row {
    text-align: left;
    margin-top: 24px;
}

.account-update-btn {
    background: #6838ED;
    color: white;
    padding: 10px 30px;
    border-radius: 10px;
    border: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.account-update-btn:hover {
    background: #5a2bc4;
    color: white;
}

/* ===== Exam Results Page ===== */
.exam-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 24px;
}

.exam-toggle-group {
    display: inline-flex;
    background: #F3F4F6;
    border-radius: 12px;
    padding: 4px;
    gap: 4px;
}

.exam-toggle-btn {
    border: none;
    background: transparent;
    padding: 8px 22px;
    border-radius: 9px;
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
    transition: all .2s ease;
}

.exam-toggle-btn.active {
    background: #1F2937;
    color: #fff;
}

.exam-filter-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.exam-filter-btn {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 8px 20px;
    font-size: 14px;
    color: #374151;
    transition: all .2s ease;
}

.exam-filter-btn.active {
    background: #FDB022;
    border-color: #FDB022;
    color: #1F2937;
    font-weight: 600;
}

/* Knowledge test summary card */
.exam-summary-card {
    background: #fff;
    border: 1px solid #F1F1F4;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(17, 12, 46, .04);
}

.exam-lock-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #F5F1FF;
    color: #6838ED;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.exam-summary-title {
    font-size: 18px;
    font-weight: 700;
    color: #1F2937;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0 6px;
}

.exam-summary-desc {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 0;
}

.exam-stats-row {
    display: flex;
    justify-content: space-between;
    background: #FFFBEB;
    border-radius: 12px;
    padding: 16px 24px;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.exam-stat-block {
    text-align: center;
}

.exam-stat-label {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 4px;
}

.exam-stat-value {
    font-size: 22px;
    font-weight: 700;
    color: #1F2937;
}

/* Progress + alerts cards */
.exam-progress-card,
.exam-alerts-card {
    background: #fff;
    border: 1px solid #F1F1F4;
    border-radius: 16px;
    padding: 20px;
    height: 100%;
    box-shadow: 0 2px 10px rgba(17, 12, 46, .04);
}

.exam-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 14px;
}

.exam-progress-percent {
    font-size: 26px;
    font-weight: 700;
    color: #6838ED;
}

.exam-progress-bar-track {
    background: #F1F1F4;
    height: 8px;
    border-radius: 10px;
    overflow: hidden;
    margin: 12px 0;
}

.exam-progress-bar-fill {
    background: linear-gradient(90deg, #6838ED, #9333EA);
    height: 100%;
}

.exam-progress-note {
    font-size: 13px;
    color: #6b7280;
}

.exam-progress-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #F5F1FF;
    color: #6838ED;
    border: none;
    border-radius: 10px;
    padding: 10px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 14px;
}

.exam-progress-btn:hover {
    background: #EAE1FF;
    color: #6838ED;
}

.exam-alerts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.exam-alerts-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    font-size: 14px;
    color: #374151;
    border-bottom: 1px solid #F5F5F7;
}

.exam-alerts-list li:last-child {
    border-bottom: none;
}

.exam-alerts-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #6838ED;
    flex-shrink: 0;
}

.exam-alerts-empty {
    font-size: 14px;
    color: #9CA3AF;
}

/* Exam cards grid */
.exam-card {
    background: #fff;
    border: 1px solid #F1F1F4;
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 20px;
    height: calc(100% - 20px);
    box-shadow: 0 2px 10px rgba(17, 12, 46, .04);
}

.exam-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.exam-bookmark-btn {
    background: transparent;
    border: none;
    color: #9CA3AF;
    font-size: 18px;
    padding: 0;
    line-height: 1;
}

.exam-bookmark-btn:hover {
    color: #6838ED;
}

.exam-subject-badge {
    background: #F5F1FF;
    color: #6838ED;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 8px;
}

.exam-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 6px;
}

.exam-card-meta {
    font-size: 13px;
    color: #9CA3AF;
    margin-bottom: 14px;
}

.exam-card-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 14px;
}

.exam-card-stat {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #6b7280;
}

.exam-card-stat i {
    color: #6838ED;
}

.exam-answer-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ECFDF5;
    color: #059669;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.exam-card-actions {
    display: flex;
    gap: 10px;
}

.exam-btn-start,
a.exam-btn-start {
    flex: 1;
    background: #6838ED;
    color: #ffffff !important;
    border: none;
    border-radius: 10px;
    padding: 10px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    display: block;
    text-decoration: none;
}

.exam-btn-start:hover,
a.exam-btn-start:hover {
    background: #5a2bc4;
    color: #ffffff !important;
}


.btn:hover {
    border-color: inherit !important ;
}


.btn-register-now:hover {
    background: #FFF !important ;
    border: 1px solid #7c3aed !important ;
    color: #7c3aed !important ;
}