/*
 * UI Modernization Override - Rocket LMS
 * Loaded AFTER app.css to override default styles
 * Does NOT touch admin-controlled dynamic values (colors, fonts, content)
 * Only improves: layout, spacing, typography, cards, alignment, visual hierarchy
 */

/* ============================================
   1. GLOBAL TYPOGRAPHY & BASE
   ============================================ */

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    background-color: #f8f9fc;
}

h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.01em;
}

p {
    line-height: 1.65;
}

a {
    transition: color 0.2s ease, background-color 0.2s ease;
}

::selection {
    background-color: var(--primary);
    color: #fff;
}

/* ============================================
   2. TOP NAVIGATION BAR
   ============================================ */

.top-navbar {
    height: 48px;
    background-color: #fff;
    border-bottom: 1px solid #eef0f4 !important;
    transition: all 0.3s ease;
}

.top-navbar .navbar-search .form-control {
    border-radius: 20px;
    padding: 6px 36px 6px 16px;
    font-size: 13px;
    background-color: #f4f6f9;
    border: 1px solid transparent;
    transition: all 0.25s ease;
    height: 36px;
}

.top-navbar .navbar-search .form-control:focus {
    background-color: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary), 0.08);
}

.top-navbar .navbar-search .search-icon {
    top: 50%;
    transform: translateY(-50%);
    right: 12px;
}

/* ============================================
   3. MAIN NAVBAR
   ============================================ */

.navbar {
    background-color: #ffffff;
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid #eef0f4;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.navbar.sticky {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border-bottom-color: transparent;
}

.navbar .nav-item .nav-link {
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
}

.navbar .nav-item .nav-link:hover {
    background-color: #f4f6f9;
    color: var(--primary);
}

.navbar .nav-start-a-live-btn,
.navbar a.btn-primary.nav-start-a-live-btn {
    border-radius: 24px;
    padding: 8px 24px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.25s ease;
}

.navbar .nav-start-a-live-btn:hover,
.navbar a.btn-primary.nav-start-a-live-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Category dropdown modernization */
.menu-category .cat-dropdown-menu {
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #eef0f4;
    padding: 8px;
}

.menu-category .cat-dropdown-menu li a {
    border-radius: 8px;
    padding: 10px 14px;
    transition: all 0.2s ease;
}

.menu-category .cat-dropdown-menu li a:hover {
    background-color: #f4f6f9;
}

.menu-category .cat-dropdown-menu .sub-menu {
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #eef0f4;
}

/* ============================================
   4. DROPDOWN MENUS (Global)
   ============================================ */

.dropdown-menu {
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #eef0f4;
    padding: 8px;
    animation: dropdownFadeIn 0.2s ease;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translate3d(0px, 44px, 0px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translate3d(0px, 54px, 0px) scale(1);
    }
}

.dropdown-menu:after {
    display: none;
}

.dropdown-item {
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    transition: all 0.15s ease;
}

.dropdown-item:hover {
    background-color: #f4f6f9;
}

/* User dropdown modernization */
.navbar-auth-user-dropdown .custom-dropdown-body {
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #eef0f4;
    overflow: hidden;
}

.navbar-auth-user-dropdown .navbar-auth-user-dropdown-item {
    border-radius: 0;
    padding: 10px 16px;
}

.navbar-auth-user-dropdown .navbar-auth-user-dropdown-item:hover {
    background-color: #f4f6f9;
}

/* ============================================
   5. BUTTONS
   ============================================ */

.btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-sm {
    border-radius: 6px;
    padding: 6px 16px;
}

.btn-rounded,
.btn.rounded-pill {
    border-radius: 24px;
}

.btn-border-white,
.btn-border-gray300 {
    border-radius: 8px;
}

.btn-border-white:hover,
.btn-border-gray300:hover {
    transform: translateY(-1px);
}

/* ============================================
   6. CARDS (Webinar, Course, General)
   ============================================ */

.webinar-card {
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #eef0f4;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.webinar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.webinar-card .image-box img {
    border-radius: 16px 16px 0 0;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.webinar-card:hover .image-box img {
    transform: scale(1.03);
}

.webinar-card .image-box::after {
    border-radius: 0;
}

.webinar-card .image-box .badges-lists .badge {
    border-radius: 8px;
    font-weight: 500;
    padding: 5px 12px;
    font-size: 11px;
    letter-spacing: 0.02em;
    backdrop-filter: blur(4px);
}

.webinar-card .webinar-card-body {
    padding: 16px;
}

.webinar-card .webinar-card-body .font-14 {
    line-height: 1.5;
}

/* Panel section cards */
.panel-section-card {
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid #eef0f4;
    transition: box-shadow 0.3s ease;
}

.panel-section-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Activities container */
.activities-container {
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid #eef0f4;
}

/* ============================================
   7. HOME PAGE SECTIONS
   ============================================ */

.home-sections .section-title {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.home-sections .section-hint {
    line-height: 1.6;
}

/* Stats container */
.stats-container .stats-item {
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #eef0f4;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stats-container .stats-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.stats-container .stats-item .stat-icon-box {
    border-radius: 16px;
}

/* Trending cards */
.trending-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.trending-card .trending-image {
    border-radius: 16px;
}

.trending-card .item-count {
    border-radius: 20px;
    font-weight: 500;
}

.trending-card:hover {
    transform: translateY(-12px);
}

/* Feature slider */
.feature-slider {
    border-radius: 16px;
    overflow: hidden;
}

.feature-slider .feature-slider-body {
    border-radius: 14px;
}

/* Organizations card */
.home-organizations-card {
    border-radius: 16px;
    border: 1px solid #eef0f4;
}

.home-organizations-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* ============================================
   8. HERO / SLIDER
   ============================================ */

.slider-container .slider-content .slider-search {
    border-radius: 28px;
    overflow: hidden;
}

.slider-container .slider-content h1 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* ============================================
   9. FOOTER
   ============================================ */

.footer {
    background-color: var(--secondary);
}

.footer .footer-subscribe {
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.footer .footer-subscribe .subscribe-input {
    border-radius: 32px;
    padding: 8px 8px 8px 20px;
}

.footer .footer-subscribe .subscribe-input .form-control {
    border: none;
    background: transparent;
}

.footer .footer-subscribe .subscribe-input .btn {
    border-radius: 24px;
    padding: 10px 28px;
    font-weight: 600;
}

.footer .footer-subscribe strong {
    font-size: 26px;
    letter-spacing: -0.01em;
}

.footer ul li {
    margin-bottom: 8px;
}

.footer ul li a {
    transition: opacity 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.footer ul li a:hover {
    opacity: 0.85;
    transform: translateX(3px);
}

.footer .border-blue {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer .footer-copyright-card {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ============================================
   10. FORMS & INPUTS
   ============================================ */

.form-control {
    border-radius: 8px;
    border: 1px solid #dde1e8;
    padding: 10px 14px;
    font-size: 14px;
    transition: all 0.25s ease;
    background-color: #fff;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(67, 212, 119, 0.1);
}

.form-control::placeholder {
    color: #a0a8b4;
}

textarea.form-control {
    border-radius: 10px;
}

.select2-container--default .select2-selection--single {
    border-radius: 8px;
    border: 1px solid #dde1e8;
    height: 42px;
    transition: border-color 0.25s ease;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 42px;
    padding-left: 14px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 42px;
}

.select2-dropdown {
    border-radius: 10px;
    border: 1px solid #eef0f4;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* ============================================
   11. PAGINATION
   ============================================ */

.page-item .page-link {
    border-radius: 8px;
    margin: 0 3px;
    border: 1px solid #eef0f4;
    font-weight: 500;
    transition: all 0.2s ease;
    min-width: 38px;
    text-align: center;
}

.page-item .page-link:hover {
    background-color: #f4f6f9;
    border-color: #dde1e8;
    transform: translateY(-1px);
}

.page-item.active .page-link {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ============================================
   12. TABS
   ============================================ */

.nav-tabs {
    border-bottom: 2px solid #eef0f4;
}

.nav-tabs .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
    padding: 10px 20px;
    font-weight: 500;
    color: #818894;
    transition: all 0.25s ease;
    margin-bottom: -2px;
}

.nav-tabs .nav-link:hover {
    border-bottom-color: #dde1e8;
    color: var(--secondary);
}

.nav-tabs .nav-link.active {
    border-bottom-color: var(--primary);
    color: var(--primary);
    background: transparent;
    font-weight: 600;
}

/* ============================================
   13. BADGES
   ============================================ */

.badge {
    font-weight: 500;
    letter-spacing: 0.02em;
    border-radius: 6px;
    padding: 4px 10px;
}

.badge-circle-danger,
.badge-circle-primary {
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

/* ============================================
   14. COURSE PAGE
   ============================================ */

.course-content-section .course-content-body {
    border-radius: 14px;
}

.course-content-section .accordion .accordion-row {
    border-radius: 10px;
    margin-bottom: 8px;
    border: 1px solid #eef0f4;
    overflow: hidden;
}

/* ============================================
   15. PANEL / DASHBOARD (User Panel)
   ============================================ */

.panel-content {
    background-color: #f8f9fc;
}

#panel_app .panel-sidebar {
    border-radius: 0;
    border-right: 1px solid #eef0f4;
    background-color: #fff;
}

/* Panel sidebar user info */
#panel_app .panel-sidebar .user-info .user-avatar {
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #eef0f4;
    transition: border-color 0.3s ease;
}

#panel_app .panel-sidebar .user-info .user-avatar:hover {
    border-color: var(--primary);
}

#panel_app .panel-sidebar .user-name h3 {
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* Panel sidebar menu items */
#panel_app .panel-sidebar .sidebar-menu .sidenav-item {
    margin-bottom: 2px;
}

#panel_app .panel-sidebar .sidebar-menu .sidenav-item > a {
    border-radius: 10px;
    padding: 10px 14px;
    transition: all 0.2s ease;
}

#panel_app .panel-sidebar .sidebar-menu .sidenav-item > a:hover {
    background-color: #f4f6f9;
}

#panel_app .panel-sidebar .sidebar-menu .sidenav-item.sidenav-item-active > a {
    border-radius: 10px;
    font-weight: 600;
}

/* Panel sidebar stats */
#panel_app .panel-sidebar .sidebar-user-stats {
    border-bottom: 1px solid #eef0f4;
}

#panel_app .panel-sidebar .sidebar-user-stat-item strong {
    font-weight: 700;
    font-size: 18px;
}

/* Panel sidebar collapse sub-items */
#panel_app .panel-sidebar .sidenav-item .collapse a,
#panel_app .panel-sidebar .sidenav-item .collapsing a {
    border-radius: 8px;
    padding: 8px 14px 8px 40px;
    font-size: 13px;
    transition: all 0.2s ease;
}

#panel_app .panel-sidebar .sidenav-item .collapse a:hover,
#panel_app .panel-sidebar .sidenav-item .collapsing a:hover {
    background-color: #f4f6f9;
}

/* Panel content cards */
.panel-content .panel-section-card {
    border-radius: 14px;
    border: 1px solid #eef0f4;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

/* Panel mobile nav */
.xs-panel-nav {
    background-color: #fff;
    border-bottom: 1px solid #eef0f4;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

/* ============================================
   16. SWIPER / CAROUSEL
   ============================================ */

.swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #dde1e8 !important;
    opacity: 1 !important;
    padding: 0;
    margin: 0 6px;
    transition: all 0.3s ease;
}

.swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    width: 28px;
    border-radius: 5px;
    background: var(--primary) !important;
}

.swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active:after {
    display: none;
}

/* ============================================
   17. ALERTS & TOASTS
   ============================================ */

.alert {
    border-radius: 10px;
    border: none;
    padding: 14px 18px;
}

/* ============================================
   18. MODALS
   ============================================ */

.modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.modal-header {
    border-bottom: 1px solid #eef0f4;
    padding: 18px 24px;
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    border-top: 1px solid #eef0f4;
    padding: 16px 24px;
}

/* ============================================
   19. TABLES
   ============================================ */

.table {
    border-collapse: separate;
    border-spacing: 0;
}

.table thead th {
    border-bottom: 2px solid #eef0f4;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #818894;
    padding: 12px 16px;
    background-color: #f8f9fc;
}

.table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid #f4f6f9;
    vertical-align: middle;
}

.table tbody tr {
    transition: background-color 0.15s ease;
}

.table tbody tr:hover {
    background-color: #f8f9fc;
}

/* ============================================
   20. SCROLLBAR
   ============================================ */

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #c8cdd4;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a0a8b4;
}

/* ============================================
   21. NOTIFICATION & CART DROPDOWNS
   ============================================ */

.navbar-shopping-cart .navbar-cart-box .navbar-cart-img img {
    border-radius: 8px;
}

.navbar-notification-card .navbar-notification-item {
    border-radius: 8px;
    transition: background-color 0.15s ease;
}

.navbar-notification-card .navbar-notification-item:hover {
    background-color: #f4f6f9;
}

/* ============================================
   22. AUTH PAGES
   ============================================ */

.auth-box {
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

/* ============================================
   23. COOKIE SECURITY BAR
   ============================================ */

.cookie-security-dialog {
    border-radius: 14px;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.1);
}

/* ============================================
   24. FLOATING BAR
   ============================================ */

.floating-bar {
    border-radius: 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* ============================================
   25. NO RESULT / EMPTY STATES
   ============================================ */

.no-result .no-result-logo {
    border-radius: 50%;
}

/* ============================================
   26. TESTIMONIALS
   ============================================ */

.testimonials-container .testimonials-card {
    border-radius: 14px;
    border: 1px solid #eef0f4;
}

/* ============================================
   27. BLOG
   ============================================ */

.blog-card {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #eef0f4;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* ============================================
   28. SUBSCRIBE / PRICING CARDS
   ============================================ */

.subscribe-plan {
    border-radius: 16px;
    border: 1px solid #eef0f4;
    transition: all 0.35s ease;
}

.subscribe-plan:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

/* ============================================
   29. SEARCH PAGE
   ============================================ */

.search-input {
    border-radius: 28px;
}

/* ============================================
   30. INSTRUCTOR FINDER
   ============================================ */

.find-instructor-section .find-instructor-section-hero {
    border-radius: 20px;
}

/* ============================================
   31. REWARD PROGRAM
   ============================================ */

.reward-program-section {
    border-radius: 20px;
}

/* ============================================
   32. CHECKBOX BUTTONS
   ============================================ */

.checkbox-button label {
    border-radius: 8px;
    font-weight: 500;
}

/* ============================================
   33. RESPONSIVE REFINEMENTS
   ============================================ */

@media (max-width: 991px) {
    .navbar {
        padding: 6px 12px;
    }

    .top-navbar {
        height: auto;
    }

    .webinar-card .image-box {
        height: 200px;
    }

    .home-sections {
        margin-top: 60px;
    }

    .footer .footer-subscribe {
        padding: 24px;
    }

    .footer .footer-subscribe strong {
        font-size: 22px;
    }
}

@media (max-width: 575px) {
    .webinar-card {
        border-radius: 12px;
    }

    .webinar-card .image-box img {
        border-radius: 12px 12px 0 0;
    }

    .stats-container .stats-item {
        border-radius: 12px;
    }

    .modal-content {
        border-radius: 12px;
    }

    .footer .footer-subscribe {
        border-radius: 14px;
        padding: 20px;
    }

    .dropdown-menu {
        border-radius: 10px;
    }
}

/* ============================================
   34. SMOOTH TRANSITIONS (Global)
   ============================================ */

*, *::before, *::after {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   35. LOADING SKELETON ANIMATION
   ============================================ */

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

/* ============================================
   36. COURSE PAGE CTA AREA
   ============================================ */

.course-content .course-sidebar .btn.btn-primary {
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 20px;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 12px rgba(var(--primary-rgb, 31, 64, 255), 0.25);
    transition: all 0.3s ease;
}

.course-content .course-sidebar .btn.btn-primary:hover:not(.disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb, 31, 64, 255), 0.35);
}

.course-content .course-sidebar .btn.btn-outline-primary,
.course-content .course-sidebar .btn.btn-outline-warning {
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 20px;
}

/* Course sidebar favorites/share box */
.favorites-share-box {
    border-radius: 12px !important;
    border-color: #eef0f4 !important;
}

.favorites-share-box .col a {
    transition: all 0.2s ease;
    border-radius: 8px;
    padding: 8px 4px;
}

.favorites-share-box .col a:hover {
    background-color: #f4f6f9;
}

/* ============================================
   37. WEBINAR CARD ACTION BUTTONS (Cart + Favorite)
   ============================================ */

.webinar-card .image-box .webinar-card-actions {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 3;
    gap: 6px;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

/* Cart Side Panel */
.cart-side-panel-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.cart-side-panel-overlay.active {
    opacity: 1;
    visibility: visible;
}
.cart-side-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    max-width: 90vw;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    box-shadow: -4px 0 24px rgba(0,0,0,0.15);
    transition: right 0.35s ease;
    display: flex;
    flex-direction: column;
}
.cart-side-panel.active {
    right: 0;
}
.cart-side-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #eef0f4;
    font-weight: 700;
    font-size: 16px;
}
.cart-side-panel-header .close-cart-panel {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #555;
    padding: 4px;
}
.cart-side-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
}
.cart-side-panel-footer {
    padding: 16px 20px;
    border-top: 1px solid #eef0f4;
}
.cart-side-panel-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f4f6f9;
}
.cart-side-panel-item img {
    width: 64px;
    height: 48px;
    border-radius: 6px;
    object-fit: cover;
}
.cart-side-panel-item-info h5 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px;
    line-height: 1.3;
}
.cart-side-panel-item-info .price {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
}
.cart-side-panel-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: #999;
    font-size: 15px;
}

.webinar-card-action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    color: #555;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: all 0.25s ease;
}

.webinar-card-action-btn:hover {
    background: #fff;
    color: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.webinar-card-action-btn .favorite-active {
    fill: #f63c3c;
    color: #f63c3c;
}

/* ============================================
   38. COUNTRY SELECT WITH FLAGS
   ============================================ */

.select2-container .select2-results__option {
    font-size: 14px;
}

.select2-container .select2-selection__rendered {
    font-size: 14px;
}

/* ============================================
   39. AUTH PAGES MODERN STYLING
   ============================================ */

.login-container .login-card {
    border-radius: 16px;
}

.login-container .login-card h1 {
    letter-spacing: -0.02em;
}

.login-container .login-card .btn-primary {
    border-radius: 10px;
    font-weight: 600;
    padding: 12px 20px;
}

.login-container .login-card .social-login {
    border-radius: 10px;
    border: 1px solid #eef0f4;
    transition: all 0.2s ease;
}

.login-container .login-card .social-login:hover {
    border-color: #dde1e8;
    background-color: #f8f9fc;
}

/* ============================================
   MOBILE RESPONSIVE FIXES
   ============================================ */

@media (max-width: 991px) {
    .navbar.sticky {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }

    .navbar-toggle-content {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 1010 !important;
        background-color: #fff !important;
    }

    .navbar-toggle-content.show {
        top: 0 !important;
    }

    /* Prevent body scroll when mobile menu is open */
    body.mobile-menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
}

/* ============================================
   CART SIDE PANEL ITEM STYLES
   ============================================ */

.cart-side-panel-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cart-side-panel-item img {
    width: 60px;
    height: 45px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.cart-side-panel-item-info {
    flex: 1;
    min-width: 0;
}

.cart-side-panel-item-info h5 {
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #333;
}

.cart-side-panel-item-info .price {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
}

/* Favorite active state */
.favorite-active {
    fill: #e53935 !important;
    color: #e53935 !important;
    stroke: #e53935 !important;
}
