@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

@font-face {
    font-family: 'arial';
    src: url('../fonts/Swansea-q3pd.ttf');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    color: #1a1a1a;
    overflow-x: hidden;
    background: #f8f9fa;
}


/* Typography - Blender Pro Font Weights */




/* Mobile Sidebar Overlay */

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}


/* Sidebar - Professional YouTube-style Design with Light Theme */

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 240px;
    height: 100vh;
    background: #ffffff;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1000;
    transition: width 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar::-webkit-scrollbar {
    width: 8px;
}

.sidebar::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

.sidebar-header {
    display: flex;
    align-items: center;
    padding: 18px 14px;
    gap: 4px;
    position: sticky;
    top: 0;
    background: #ffffff;
    backdrop-filter: blur(10px);
    z-index: 10;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

.header-actions .btn-signin {
    background: #0088ff;
    color: #fff;
    border-color: #0088ff;
}

.header-actions .btn-signup {
    background: #ffe502;
    border-color: #ffe502;
}

.sidebar-toggle {
    background: none;
    border: none;
    font-size: 20px;
    color: #1a1a1a;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.sidebar-toggle:hover {
    background: rgba(0, 0, 0, 0.1);
}

.sidebar-toggle:active {
    background: rgba(0, 0, 0, 0.15);
}

.sidebar-logo {
    font-size: 18px;
    font-weight: 700;
    color: #0088ff;
    letter-spacing: 1.5px;
    margin-left: 8px;
    white-space: nowrap;
    opacity: 1;
    transition: opacity 0.2s;
}

.sidebar-close {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #1a1a1a;
    cursor: pointer;
    padding: 8px;
    transition: background 0.2s;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-left: auto;
}

.sidebar-close:hover {
    background: rgba(0, 0, 0, 0.1);
}

.sidebar-menu {
    list-style: none;
    padding: 0 12px;
    margin: 0;
}

.sidebar-menu li {
    margin-bottom: 0;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    padding: 4px 10px;
    color: #000000b5;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    min-height: 40px;
    border-radius: 10px;
    transition: all 0.15s;
    position: relative;
    white-space: break-spaces;
    overflow: hidden;
    font-weight: 700;
}

.sidebar-menu a:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #1a1a1a;
}

.sidebar-menu a.active {
    background: rgba(0, 136, 255, 0.15);
    font-weight: 600;
    color: #0088ff;
}

.sidebar-menu a.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 24px;
    background: #0088ff;
    border-radius: 0 2px 2px 0;
}

.sidebar-menu i {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #0088ff;
    font-size: 16px;
}

.sidebar-menu span {
    opacity: 1;
    transition: opacity 0.2s;
}

.sidebar-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 12px 0;
}

.sidebar-section-title {
    padding: 8px 12px;
    margin: 8px 0 4px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    opacity: 1;
    transition: opacity 0.2s;
}


/* Tooltip for collapsed sidebar */

.sidebar-menu a::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 12px;
    padding: 8px 12px;
    background: rgba(97, 97, 97, 0.95);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 1001;
}

.sidebar.collapsed .sidebar-menu a:hover::after {
    opacity: 1;
}


/* Enhanced hover and focus states */

.sidebar-menu a:focus {
    outline: none;
}

.sidebar-menu a:focus-visible {
    outline: 2px solid #0088ff;
    outline-offset: 2px;
}


/* Active state with ripple effect */

.sidebar-menu a.active {
    position: relative;
    overflow: hidden;
}


/* Collapsed sidebar active state */

.sidebar.collapsed .sidebar-menu a.active {
    background: #f0f0f0;
}


/* Smooth transitions for all interactive elements */

.sidebar-toggle,
.sidebar-close,
.sidebar-menu a,
.sidebar-logo,
.sidebar-section-title,
.sidebar-divider {
    will-change: auto;
}


/* Scrollbar for better UX */

.sidebar {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}


/* Add subtle shadow to sidebar header when scrolling */

.sidebar-header.scrolled {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}


/* Main Content */

.main-content {
    margin-left: 240px;
    min-height: 100vh;
    transition: margin-left 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}


/* Header */

.top-header {
    background: #fff;
    padding: 12px 40px;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 99;
}


/* Mobile Menu Toggle Button */

.mobile-menu-toggle {
    background: none;
    border: none;
    font-size: 24px;
    color: rgb(6, 79, 143);
    cursor: pointer;
    padding: 8px;
    display: none;
    transition: color 0.3s;
}

.mobile-menu-toggle:hover {
    color: #0d3320;
}

.search-bar {
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 10px 50px 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    outline: none;
    border-width: 1px;
    border-color: rgb(228, 228, 228);
    border-style: solid;
    height: 52px;
}

.search-bar button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: unset;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    color: #000;
    cursor: pointer;
}

.header-actions {
    display: flex;
    gap: 15px;
    justify-content: end;
}

.header-actions a {
    padding: 8px 40px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    border-width: 1px;
    border-color: rgb(228, 228, 228);
    border-style: solid;
    background-color: rgb(242, 242, 242);
    color: #0e0f11;
    height: 50px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-signin {
    background: #ffffff;
    border: 1px solid #0088ff;
    color: #0088ff;
}

.btn-signin:hover {
    background: #0088ff;
    color: #fff;
}

.btn-signup {
    background: #0088ff;
    border: 1px solid #0088ff;
    color: #fff;
    box-shadow: 0 12px 24px rgba(0, 136, 255, 0.2);
}

.btn-signup:hover {
    background: #006fd4;
    border-color: #006fd4;
}

/* Authentication Pages */
.auth-wrapper {
    min-height: calc(100vh - 140px);
    padding: 60px 40px 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 136, 255, 0.08) 0%, rgba(6, 79, 143, 0.08) 100%);
}

.auth-card {
    width: 100%;
    max-width: 520px;
    background: #ffffff;
    border-radius: 24px;
    padding: 48px 48px 40px;
    box-shadow: 0 20px 60px rgba(15, 34, 58, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.auth-title {
    font-size: 30px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.auth-subtitle {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 32px;
}

.auth-form .form-group {
    margin-bottom: 22px;
}

.auth-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
}

.auth-input,
.auth-input-group input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid #d0d8e2;
    background: #f8fafc;
    font-size: 15px;
    color: #1f2937;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-input:focus,
.auth-input-group input:focus {
    outline: none;
    border-color: #0088ff;
    box-shadow: 0 0 0 3px rgba(0, 136, 255, 0.15);
}

.auth-input-group {
    position: relative;
}

.auth-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.auth-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #475569;
}

.auth-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: #0088ff;
}

.auth-link {
    color: #0088ff;
    font-weight: 600;
    text-decoration: none;
}

.auth-link:hover {
    text-decoration: underline;
}

.auth-submit {
    width: 100%;
    padding: 14px 18px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, #0088ff 0%, #065fd4 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 26px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.auth-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(0, 136, 255, 0.24);
}

.auth-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 24px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(148, 163, 184, 0), rgba(148, 163, 184, 0.7));
}

.auth-social {
    display: grid;
    gap: 14px;
    margin-bottom: 24px;
}

.auth-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    border-radius: 14px;
    border: 1px solid #d8dee8;
    background: #ffffff;
    color: #0f172a;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.auth-social-btn:hover {
    border-color: #0088ff;
    color: #0088ff;
    box-shadow: 0 10px 24px rgba(0, 136, 255, 0.12);
}

.auth-footer-text {
    text-align: center;
    font-size: 15px;
    color: #475569;
}

.auth-footer-text .auth-link {
    font-weight: 700;
}

.auth-policy {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 28px;
}

.auth-policy .auth-link {
    font-weight: 600;
}

@media (max-width: 992px) {
    .auth-wrapper {
        padding: 40px 24px 60px;
    }

    .auth-card {
        padding: 40px 32px 32px;
    }
}

@media (max-width: 576px) {
    .auth-wrapper {
        padding: 32px 16px 48px;
    }

    .auth-card {
        padding: 32px 20px 28px;
        border-radius: 20px;
    }

    .auth-title {
        font-size: 26px;
    }

    .auth-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .auth-social {
        grid-template-columns: 1fr;
    }
}


/* Navigation Tabs */

.nav-tabs-custom {
    background: #fff;
    padding: 15px 20px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    position: relative;
}

.nav-arrow {
    background: #fff;
    border: 1px solid #e5e5e5;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
    color: #606060;
    font-size: 14px;
    z-index: 2;
}

.nav-arrow:hover {
    background: #f8f9fa;
    border-color: #0088ff;
    color: #0088ff;
    box-shadow: 0 2px 8px rgba(0, 136, 255, 0.15);
}

.nav-arrow:active {
    transform: scale(0.95);
}

.nav-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.nav-arrow-left {
    margin-right: 10px;
}

.nav-arrow-right {
    margin-left: 10px;
}

.nav-tabs-container {
    flex: 1;
    overflow-x: auto;
    white-space: nowrap;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.nav-tabs-container::-webkit-scrollbar {
    height: 0;
}

.nav-tabs-container::-webkit-scrollbar-track {
    background: transparent;
}

.nav-tabs-container::-webkit-scrollbar-thumb {
    background: transparent;
}

/* Scroll indicator shadow for mobile */

@media (max-width: 1024px) {
    .nav-tabs-container::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 40px;
        background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
        pointer-events: none;
        z-index: 1;
    }
}

.nav-tab {
    display: inline-block;
    padding: 8px 20px;
    margin-right: 10px;
    color: #606060;
    border: none;
    transition: all 0.3s;
    border-width: 1px;
    border-color: rgb(228, 228, 228);
    border-style: solid;
    border-radius: 22px;
    background-color: rgb(242, 242, 242);
    height: 42px;
    font-size: 15px;
}

.nav-tab:hover {
    background: rgba(0, 136, 255, 0.2);
    color: #0088ff;
}

.nav-tab.active {
    background: #0088ff;
    color: #fff;
}


/* Hero Banner */

.hero-banner {
    position: relative;
    padding: 0px 40px;
    margin: 30px 40px;
    border-radius: 16px;
    overflow: hidden;
    min-height: 220px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;

    background-size: cover;
    background-position: center;
}

.hero-banner.hidden {
    display: none;
}

.hero-banner::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #0088ff,
            /* light shade */
            #0088ff47,
            /* main color */
            #0088ff
            /* darker shade */
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    /* max-width: 600px; */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content h1 {
    font-size: 30px;
    line-height: 1.3;
    color: #fff;
    font-weight: 700;
    margin-bottom: 0;
    max-width: 450px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-top: 0;
}

.hero-actions a {
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    border-radius: 50px;
    text-decoration: unset;
}

.btn-watch {
    background: #eca621;
    color: #fff;
}

.btn-question {
    background: transparent;
    border: 1px solid #fff !important;
    color: #fff;
}


/* Content Section */

.content-section {
    padding: 40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
}


/* Video Grid - Now using Bootstrap grid system */

.video-grid {
    margin-bottom: 50px;
}

.video-card {
    /* background: #fff; */
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s, opacity 0.3s;
    cursor: pointer;
    opacity: 1;
}

.video-card.hidden {
    display: none;
}

.video-card.fade-out {
    opacity: 0;
    transform: scale(0.95);
}

.video-card.fade-in {
    animation: fadeInUp 0.4s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.video-card:hover {
    /* transform: translateY(-4px); */
    /* box-shadow: 0 8px 20px rgba(0,0,0,0.1); */
}

.video-thumbnail {
    position: relative;
    padding-top: 56.25%;
    background: linear-gradient(135deg, rgb(6, 79, 143) 0%, #0d3320 100%);
    overflow: hidden;
    border-radius: 15px;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.video-info {
    padding: 15px;
}

.video-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    font-size: 13px;
    color: #606060;
    margin-bottom: 0;
}

.video-actions {
    position: absolute;
    top: 8px;
    right: 8px;
}

.video-actions button {
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.video-actions button:hover {
    background: rgba(0, 0, 0, 0.8);
}


/* Categories - Now using Bootstrap grid system */

.categories-scroll {
    padding-bottom: 10px;
    margin-bottom: 50px;
}

.categories-scroll::-webkit-scrollbar {
    height: 6px;
}

.categories-scroll::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.category-card {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s;
}

.category-card:hover {
    transform: scale(1.05);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
    z-index: 1;
    border-radius: 20px;
}

.category-image {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 20px;
}

.category-name {
    position: absolute;
    bottom: 0;
    left: 0;
    top: 0;
    right: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
    background: #fff;
    color: #000;
    border-radius: 50px;
    padding: 2px 20px;
    margin: auto;
    display: grid;
    place-content: center;
    width: fit-content;
    height: fit-content;
}


/* Festival Section - Now using Bootstrap grid system */

.festival-slider {
    position: relative;
    margin-bottom: 0;
}

.festival-card {
    /* background: linear-gradient(135deg, rgb(6, 79, 143) 0%, #eca621 100%); */
    border-radius: 16px;
    padding: 0 0 40px 0;
    overflow: hidden;
    position: relative;
}

.festival-info {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, rgba(0, 136, 255, 0.64) 0%, rgba(255, 229, 2, 0.64) 100%);
    padding: 25px 50px;
    border-radius: 15px;
    height: 300px;
}

.festival-info::before {
    position: absolute;
    content: '';
    width: 90%;
    height: 73%;
    left: 0;
    right: 0;
    bottom: 4%;
    margin: auto;
    background: #0088ff;
    z-index: -1;
    border-radius: 15px;
}

.festival-info h3 {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
}

.festival-info p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 25px;
}

.festival-meta {
    display: flex;
    gap: 20px;
    color: #fff;
    font-size: 13px;
    margin-top: 40px;
}

.festival-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.festival-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 300px;
}

.festival-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.festival-countdown {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 15px;
}

.countdown-item {
    background: rgb(0 0 0);
    padding: 2px 15px;
    border-radius: 31px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.countdown-number {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.countdown-label {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
}


/* Festival Slider Navigation */

.festival-slider .slick-prev,
.festival-slider .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.festival-slider .slick-prev:hover,
.festival-slider .slick-next:hover {
    background: #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.festival-slider .slick-prev {
    left: -25px;
}

.festival-slider .slick-next {
    right: -25px;
}

.festival-slider .slick-prev i,
.festival-slider .slick-next i {
    color: rgb(6, 79, 143);
    font-size: 18px;
}

.festival-slider .slick-dots {
    position: absolute;
    bottom: 0;
    left: 5%;
    transform: translateX(-50%);
    display: flex !important;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.festival-slider .slick-dots li {
    margin: 0;
}

.festival-slider .slick-dots li button {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 2px solid rgb(6, 79, 143);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    font-size: 0;
    transition: all 0.3s ease;
}

.festival-slider .slick-dots li.slick-active button {
    background: rgb(6, 79, 143);
    width: 30px;
    border-radius: 6px;
}

.festival-slider .slick-dots li button:hover {
    background: rgba(26, 77, 46, 0.5);
}


/* Responsive adjustments for festival slider */

@media (max-width: 768px) {

    .festival-slider .slick-prev,
    .festival-slider .slick-next {
        width: 40px;
        height: 40px;
    }

    .festival-slider .slick-prev {
        left: 10px;
    }

    .festival-slider .slick-next {
        right: 10px;
    }

    .festival-slider .slick-prev i,
    .festival-slider .slick-next i {
        font-size: 14px;
    }
}


/* Question CTA */

.question-cta {
    background: linear-gradient(135deg, rgb(6, 79, 143) 0%, #eca621 100%);
    border-radius: 16px;
    padding: 50px;
    text-align: left;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
    background-image: url(../images/chiristy-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-position: center;
}

.question-form input::placeholder {
    color: #fff;
}

.question-form input:focus-visible {
    outline: -webkit-focus-ring-color auto 0px;
}

.question-cta::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #0088ff, #0088ff47, #0088ff);

}

.question-cta h3 {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

.question-form {
    position: relative;
    z-index: 2;
    margin: 0 0 0 -600px;
    border: 1px solid #fff;
    border-radius: 50px;
}

.question-form input {
    padding: 18px 24px;
    border-radius: 6px;
    border: none;
    width: 100%;
    max-width: 500px;
    font-size: 14px;
    background: transparent;
    color: #fff;
}

.question-form button {
    padding: 14px 32px;
    background: #fff;
    color: rgb(6, 79, 143);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    margin: 0px 0 0 -26px;
    height: 57px;
    border-radius: 50px;
    width: fit-content !important;
}


/* Articles Grid - Now using Bootstrap grid system */

.articles-grid {
    margin-bottom: 50px;
}

.article-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.article-image {
    position: relative;
    padding-top: 60%;
    background: #f2f2f2;
    border-radius: 15px;
    overflow: hidden;
}

.article-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-content {
    padding: 20px;
}

.article-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
    line-height: 1.4;
}

.article-excerpt {
    font-size: 13px;
    color: #606060;
    line-height: 1.6;
}


/* Newsletter CTA */

.newsletter-cta {
    background: linear-gradient(135deg, rgb(6, 79, 143) 0%, #eca621 100%);
    border-radius: 16px;
    padding: 60px 50px;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;

    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* Shorts Page Styles */


/* History Page Styles */
.history-container {
    padding: 20px;
    max-width: 1350px;
    margin: 0 auto;
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.history-header h1 {
    font-size: 24px;
    font-weight: 400;
    margin: 0;
    color: #030303;
}

.history-header h1 i {
    margin-right: 12px;
    color: #606060;
}

.history-actions .btn-clear {
    background: transparent;
    border: none;
    color: #065fd4;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 18px;
    transition: background-color 0.2s;
}

.history-actions .btn-clear:hover {
    background: #e8f0fe;
}

/* History Tabs */
.history-tabs {
    display: flex;
    margin-bottom: 24px;
    border-bottom: 1px solid #e5e5e5;
}

.tab-btn {
    background: none;
    border: none;
    padding: 12px 24px;
    font-size: 18px;
    font-weight: 600;
    color: #606060;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.tab-btn.active {
    color: #065fd4;
    border-bottom-color: #065fd4;
}

.tab-btn:hover {
    background: #f9f9f9;
}

/* History List */
.history-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.history-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-radius: 8px;
    transition: background-color 0.2s;
    text-decoration: unset;
}

.history-item:hover {
    background: #f9f9f9;
}

.history-thumbnail {
    position: relative;
    width: 200px;
    height: 110px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 16px;
    flex-shrink: 0;
}

.history-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.history-thumbnail:hover .thumbnail-video {
    opacity: 1;
}



.duration {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 12px;
    padding: 2px 4px;
    border-radius: 2px;
}

.shorts-badge {
    position: absolute;
    top: 4px;
    left: 4px;
    background: #fff;
    color: #0f0f0f;
    font-size: 12px;
    font-weight: 500;
    padding: 2px 6px;
    border-radius: 2px;
}

.history-info {
    flex: 1;
    min-width: 0;
}

.history-info h3 {
    font-size: 16px;
    font-weight: 500;
    color: #0f0f0f;
    margin: 0 0 4px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.history-info p {
    font-size: 14px;
    color: #606060;
    margin: 0;
    line-height: 1.4;
}

.history-menu {
    margin-left: 16px;
}

.menu-btn {
    background: none;
    border: none;
    color: #606060;
    font-size: 16px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.menu-btn:hover {
    background: #e5e5e5;
}

/* Tab Content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Watch Later Page Styles */
.watch-later-container {
    padding: 20px;
    max-width: 1350px;
    margin: 0 auto;
}

.watch-later-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e5e5;
}

.watch-later-title-section h1 {
    font-size: 24px;
    font-weight: 400;
    margin: 0 0 4px 0;
    color: #030303;
}

.watch-later-title-section h1 i {
    margin-right: 12px;
    color: #606060;
}

.video-count {
    font-size: 14px;
    color: #606060;
    font-weight: 400;
}

.watch-later-actions {
    display: flex;
    gap: 8px;
}

.btn-play-all {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #065fd4;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-play-all:hover {
    background: #0d47a1;
}

.btn-play-all i {
    font-size: 12px;
}

.btn-sort {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #030303;
    border: none;
    padding: 10px 16px;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-sort:hover {
    background: #f9f9f9;
}

.btn-sort i {
    font-size: 12px;
}

/* Watch Later Grid */
.watch-later-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.watch-later-video-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.watch-later-video-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.video-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.video-thumbnail-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.video-thumbnail-container .thumbnail-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.video-thumbnail-container:hover .thumbnail-video {
    opacity: 1;
}

.video-thumbnail-container:hover .video-thumbnail {
    opacity: 0;
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 2px;
    font-weight: 500;
}

.watch-later-menu-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.2s;
    font-size: 14px;
}

.watch-later-video-card:hover .watch-later-menu-btn {
    opacity: 1;
}

.watch-later-menu-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.video-info {
    padding: 12px 16px;
}

.video-title {
    font-size: 16px;
    font-weight: 500;
    color: #030303;
    margin: 0 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.channel-name {
    font-size: 14px;
    color: #606060;
    font-weight: 400;
}

.video-stats {
    font-size: 14px;
    color: #606060;
    font-weight: 400;
}

/* Responsive Grid */
@media (max-width: 1200px) {
    .watch-later-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .watch-later-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 12px;
    }

    .watch-later-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .watch-later-actions {
        width: 100%;
        justify-content: flex-start;
    }
}



/* History Sections */
.history-section {
    display: block;
    margin-bottom: 40px;
}

.history-section.active {
    display: block;
}

.section-title {
    font-size: 22px;
    font-weight: 500;
    color: #0f0f0f;
    margin: 0 0 16px 0;
    padding: 16px 0 8px 0;
}

.newsletter-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: linear-gradient(to right, #0088ff, #0088ff47, #0088ff);
}

.newsletter-cta h3 {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.newsletter-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin-bottom: 35px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.newsletter-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.newsletter-actions button {
    padding: 14px 32px;
    border-radius: 49px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-newsletter-primary {
    background: #fff;
    color: rgb(6, 79, 143);
    border: 2px solid #fff;
}

.btn-newsletter-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}


/* Footer */

.footer {
    color: rgba(255, 255, 255, 0.8);
    padding: 50px 40px 20px;
    margin-left: -240px;
    width: calc(100% + 240px);
    position: relative;
    background: linear-gradient(135deg, rgb(0 119 224) 0%, #ffe50280 100%);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
    padding-left: 240px;
}

.footer-section h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links i {
    padding-right: 20px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
    font-weight: 600;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    padding-left: 240px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: unset;
    transition: background 0.3s;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    margin-top: 0;
    padding-left: 0;
}


/* Sidebar Collapsed State - Professional YouTube Mini Sidebar */

.sidebar.collapsed {
    width: 72px;
}

.sidebar.collapsed .sidebar-logo {
    opacity: 0;
    width: 0;
    margin: 0;
    pointer-events: none;
}

.sidebar.collapsed .sidebar-section-title {
    opacity: 0;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.sidebar.collapsed .sidebar-menu span {
    opacity: 0;
    width: 0;
    overflow: hidden;
}

.sidebar.collapsed .sidebar-divider {
    opacity: 0;
    height: 0;
    margin: 8px 0;
}

.sidebar.collapsed .sidebar-header {
    padding: 18px 14px;
    justify-content: center;
}

.sidebar.collapsed .sidebar-menu {
    padding: 0 4px;
}

.sidebar.collapsed .sidebar-menu a {
    justify-content: center;
    padding: 0;
    width: 64px;
    margin: 0 auto 4px;
}

.sidebar.collapsed .sidebar-menu a.active::before {
    display: none;
}

.sidebar.collapsed .sidebar-menu i {
    margin-right: 0;
    font-size: 22px;
}

.sidebar.collapsed+.main-content {
    margin-left: 72px;
}


/* Footer adjustments for collapsed sidebar */

.sidebar.collapsed~.main-content .footer {
    margin-left: -72px;
    width: calc(100% + 72px);
}

.sidebar.collapsed~.main-content .footer-content,
.sidebar.collapsed~.main-content .footer-bottom,
.sidebar.collapsed~.main-content .copyright {
    padding-left: 72px;
}


/* Responsive */

@media (max-width: 1024px) {

    /* Hide sidebar by default on tablet/mobile */
    .sidebar {
        transform: translateX(-100%);
    }

    /* Show sidebar when active */
    .sidebar.active {
        transform: translateX(0);
    }

    /* Hide toggle button on mobile, show close button */
    .sidebar-toggle {
        display: none;
    }

    .sidebar-close {
        display: block;
    }

    /* Remove left margin from main content */
    .main-content {
        margin-left: 0;
    }

    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: block;
    }

    /* Adjust header padding */
    .top-header {
        padding: 12px 20px;
    }

    /* Footer adjustments */
    .footer {
        margin-left: 0;
        width: 100%;
    }

    .footer-content,
    .footer-bottom,
    .copyright {
        padding-left: 40px;
    }

    /* Festival card adjustments */
    .festival-card {
        padding: 30px 20px;
    }

    /* Navigation tabs - make scrollable */
    .nav-tabs-custom {
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE/Edge */
    }

    .nav-tabs-custom::-webkit-scrollbar {
        display: none;
        /* Chrome/Safari */
    }

    .nav-tab {
        display: inline-block;
        white-space: nowrap;
    }
}

@media (max-width: 768px) {

    /* Header adjustments */
    .top-header {
        padding: 10px 15px;
    }

    /* Search bar - smaller on mobile */
    .search-bar {
        max-width: 100%;
    }

    .search-bar input {
        padding: 8px 45px 8px 15px;
        font-size: 13px;
    }

    .search-bar button {
        padding: 6px 15px;
        font-size: 13px;
    }

    /* Header actions - hide text on very small screens */
    .header-actions {
        gap: 8px;
        margin-top: 20px;
    }

    .header-actions button {
        padding: 8px 15px;
        font-size: 12px;
    }

    /* Navigation tabs */
    .nav-tabs-custom {
        padding: 10px 15px;
        margin: 0;
    }

    .nav-tab {
        padding: 8px 16px;
        font-size: 13px;
    }

    /* Content sections */
    .content-section {
        padding: 20px 15px;
    }

    .hero-banner {
        padding: 40px 15px;
        margin: 0;
    }

    .hero-content h1 {
        font-size: 24px;
        line-height: 1.2;
    }

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

    .hero-actions button {
        width: 100%;
        padding: 12px 20px;
    }

    /* Section titles */
    .section-title {
        font-size: 18px;
    }

    /* Video cards */
    .video-card {
        margin-bottom: 15px;
    }

    /* Category cards */
    .category-card {
        height: 100px;
        min-width: 150px;
    }

    .category-name {
        font-size: 14px;
    }

    /* Festival section */
    .festival-card {
        padding: 25px 15px;
    }

    .festival-info h3 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .festival-info p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .festival-meta {
        flex-direction: column;
        gap: 10px;
        font-size: 12px;
    }

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

    /* Question CTA */
    .question-cta {
        padding: 40px 20px;
    }

    .question-cta h3 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .question-form input {
        padding: 12px 20px;
        font-size: 13px;
        margin-bottom: 10px;
    }

    .question-form button {
        padding: 12px 24px;
        width: 100%;
    }

    /* Newsletter CTA */
    .newsletter-cta {
        padding: 40px 20px;
    }

    .newsletter-cta h3 {
        font-size: 24px;
    }

    .newsletter-cta p {
        font-size: 14px;
    }

    .newsletter-actions {
        flex-direction: column;
    }

    .newsletter-actions input {
        width: 100%;
    }

    .newsletter-actions button {
        width: 100%;
    }

    /* Article cards */
    .article-title {
        font-size: 15px;
    }

    .article-excerpt {
        font-size: 12px;
    }

    /* Footer */
    .footer {
        padding: 30px 15px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-left: 15px;
    }

    .footer-section h4 {
        font-size: 13px;
    }

    .footer-links a {
        font-size: 13px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        padding-left: 15px;
        text-align: center;
    }

    .copyright {
        padding-left: 15px;
        font-size: 12px;
    }

    /* Sidebar - full width on mobile */
    .sidebar {
        width: 280px;
    }
}


/* Extra small devices */

@media (max-width: 480px) {

    /* Even smaller adjustments for very small screens */
    .mobile-menu-toggle {
        font-size: 20px;
        padding: 5px;
    }

    .search-bar input {
        font-size: 12px;
        padding: 8px 40px 8px 12px;
    }

    .search-bar button {
        padding: 5px 12px;
        font-size: 12px;
    }

    .header-actions button {
        padding: 6px 12px;
        font-size: 11px;
    }

    .hero-content h1 {
        font-size: 20px;
    }

    .section-title {
        font-size: 16px;
    }

    .festival-info h3 {
        font-size: 20px;
    }

    .question-cta h3,
    .newsletter-cta h3 {
        font-size: 20px;
    }

    .sidebar {
        width: 260px;
    }
}

.sidebar-logo img.side-logo {
    width: 130px;
}

.footer-logo img {
    width: 110px;
    filter: brightness(5000);
}

.header-logo img.header-log-img {
    width: 130px;
}

a.btn-white {
  padding: 14px 15px !important;
    border-radius: 49px;
    font-size: 11px !important;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    background: transparent;
    color: #0088ff;
    border: 2px solid #0088ff;
    text-decoration: unset;
}

.newsletter-cta .footer-social a {
    justify-content: center;
}

.newsletter-cta .footer-social {
    justify-content: center;
}

.newsletter-cta .footer-social a {
    border: 1px solid #fff;
}

/* Watch Later Page Styles - Light Theme Design */
.wl-content-wrapper {
    display: flex;
    min-height: calc(100vh - 56px);
    background: #f8f9fa;
    padding: 24px;
    gap: 24px;
}

.wl-left-panel {
    width: 400px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 0;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 80px;
    height: fit-content;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.wl-playlist-cover {
    width: 100%;
    aspect-ratio: 1/1;
    background: linear-gradient(135deg, #3ea6ff 0%, #065fd4 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wl-playlist-cover::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.wl-playlist-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.wl-playlist-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 24px 24px 8px;
    line-height: 1.2;
}

.wl-playlist-author {
    font-size: 14px;
    color: #606060;
    font-weight: 400;
    margin: 0 24px 4px;
}

.wl-playlist-stats {
    font-size: 14px;
    color: #606060;
    margin: 0 24px 0px;
    font-weight: 400;
}

.wl-playlist-buttons {
    display: flex;
    gap: 12px;
    padding: 0 24px 24px;
}

.wl-btn-play-all {
    background: #0088ff;
    color: #ffffff;
    border: none;
    padding: 10px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.1s ease;
    text-transform: capitalize;
}

.wl-btn-play-all:hover {
    background: #0077dd;
}

.wl-btn-play-all:active {
    background: #0066cc;
}

.wl-btn-shuffle {
    background: #ffffff;
    color: #0088ff;
    border: 1px solid #e5e5e5;
    padding: 10px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.1s ease;
    text-transform: capitalize;
}

.wl-btn-shuffle:hover {
    background: #f8f9fa;
    border-color: #0088ff;
}

.wl-btn-shuffle:active {
    background: #f0f0f0;
}

.wl-playlist-actions {
    display: flex;
    gap: 8px;
    padding: 0 24px 4px;
    justify-content: flex-start;
}

.wl-icon-btn {
    background: transparent;
    border: none;
    color: #606060;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    font-size: 20px;
    transition: all 0.1s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wl-icon-btn:hover {
    background: #f0f0f0;
    color: #1a1a1a;
}

.wl-icon-btn:active {
    background: #e5e5e5;
}

/* Right Panel - Video List - Light Theme Style */
.wl-right-panel {
    flex: 1;
    padding: 0;
    background: transparent;
}

.wl-video-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wl-video-item {
    display: flex;
    gap: 12px;
    padding: 8px;
    text-decoration: none;
    color: #1a1a1a;
    transition: all 0.1s ease;
    border-radius: 12px;
    position: relative;
    /* background: #ffffff; */
    border: 1px solid transparent;
}

.wl-video-item:hover {
    background: #0000001a;
}

.wl-video-index {
    width: 24px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    font-size: 0;
    color: transparent;
    font-weight: 400;
    padding-top: 8px;
    cursor: grab;
    position: relative;
}

.wl-video-index::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 3px;
    background: #606060;
    border-radius: 50%;
    box-shadow:
        0 5px 0 #606060,
        0 10px 0 #606060,
        6px 0 0 #606060,
        6px 5px 0 #606060,
        6px 10px 0 #606060;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.1s ease;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
}

.wl-video-item:hover .wl-video-index::after {
    opacity: 1;
}

.wl-video-item:hover .wl-video-index {
    color: transparent;
}

.wl-video-thumbnail-container {
    position: relative;
    width: 168px;
    height: 94px;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f0f0;
    flex-shrink: 0;
}

.wl-video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s;

}

.wl-thumbnail-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s;
}

.wl-video-item:hover .wl-thumbnail-video {
    opacity: 1 !important;
}



.wl-video-duration {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 3px 4px;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
}

.wl-video-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 4px;
}

.wl-video-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #000;
    margin-bottom: 4px;
    font-weight: 600;
}

.wl-video-meta {
    font-size: 14px;
    color: #606060;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    font-weight: 400;
}

.wl-video-meta span::after {
    content: 'Ã¢â‚¬Â¢';
    margin: 0 4px;
    color: #909090;
}

.wl-video-meta span:last-child::after {
    content: '';
    margin: 0;
}

.wl-video-menu {
    padding: 0;
    display: flex;
    align-items: flex-start;
    padding-top: 4px;
    /* opacity: 0; */
    transition: opacity 0.1s ease;
}

.wl-video-item:hover .wl-video-menu {
    opacity: 1;
}

.wl-menu-btn {
    background: transparent;
    border: none;
    color: #606060;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.1s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wl-menu-btn:hover {
    background: #f0f0f0;
    color: #1a1a1a;
}

.wl-menu-btn:active {
    background: #e5e5e5;
}

/* Responsive Styles for Watch Later - YouTube Style */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-270px);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .wl-content-wrapper {
        flex-direction: column;
        padding: 16px;
        gap: 16px;
    }

    .wl-left-panel {
        width: 100%;
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .wl-content-wrapper {
        padding: 12px;
        gap: 12px;
    }

    .wl-playlist-title {
        font-size: 20px;
        margin: 20px 20px 6px;
    }

    .wl-playlist-author,
    .wl-playlist-stats {
        margin-left: 20px;
        margin-right: 20px;
    }

    .wl-playlist-buttons {
        padding: 0 20px 20px;
    }

    .wl-playlist-actions {
        padding: 0 20px 20px;
    }

    .wl-video-item {
        padding: 6px;
        gap: 8px;
    }

    .wl-video-index {
        width: 20px;
        font-size: 12px;
    }

    .wl-video-thumbnail-container {
        width: 140px;
        height: 79px;
    }

    .wl-video-title {
        font-size: 13px;
    }

    .wl-video-meta {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .wl-content-wrapper {
        padding: 8px;
        gap: 8px;
    }

    .wl-playlist-cover {
        aspect-ratio: 16/9;
    }

    .wl-playlist-title {
        font-size: 18px;
        margin: 16px 16px 4px;
    }

    .wl-playlist-author,
    .wl-playlist-stats {
        font-size: 12px;
        margin-left: 16px;
        margin-right: 16px;
    }

    .wl-playlist-buttons {
        padding: 0 16px 16px;
        gap: 8px;
    }

    .wl-btn-play-all,
    .wl-btn-shuffle {
        padding: 8px 12px;
        font-size: 13px;
    }

    .wl-playlist-actions {
        padding: 0 16px 16px;
    }

    .wl-icon-btn {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .wl-video-item {
        flex-wrap: wrap;
        padding: 6px;
    }

    .wl-video-index {
        display: none;
    }

    .wl-video-thumbnail-container {
        width: 120px;
        height: 68px;
    }

    .wl-video-title {
        font-size: 12px;
        -webkit-line-clamp: 2;
    }

    .wl-video-meta {
        font-size: 10px;
    }

    .wl-menu-btn {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
}

/* ========================================
   LIKED VIDEOS PAGE STYLES (.lv- prefix)
   ======================================== */

/* Main Content Wrapper */
.lv-content-wrapper {
    display: flex;
    gap: 24px;
    padding: 24px;
    background: #f8f9fa;
    min-height: calc(100vh - 80px);
}

/* Left Panel - Playlist Info */
.lv-left-panel {
    width: 400px;
    border-radius: 12px;
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 100px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    background: #0088ff;
    padding-bottom: 150px;














    .lv-playlist-actions i {
        color: #fff;
    }

    ;
}

.lv-playlist-cover {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

.lv-playlist-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lv-playlist-title {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 8px 0;
}

.lv-playlist-author {
    font-size: 14px;
    color: #fff;
    margin-bottom: 4px;
}

.lv-playlist-stats {
    font-size: 14px;
    color: #fff;
    margin: 0 0 16px;
    font-weight: 400;
}

.lv-playlist-actions {
    display: flex;
    gap: 8px;
    padding: 0 0 16px;
    justify-content: flex-start;
}

.lv-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #606060;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.1s ease;
    font-size: 18px;
}

.lv-icon-btn:hover {
    background: #f0f0f0;
}

.lv-playlist-buttons {
    display: flex;
    gap: 12px;
    padding: 0;
}

.lv-btn-play-all {
    background: #0088ff;
    color: #ffffff;
    border: none;
    padding: 10px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.1s ease;
    flex: 1;
    border: 1px solid;
    justify-content: center;
}

.lv-btn-play-all:hover {
    background: #0077dd;
}

.lv-btn-shuffle {
    background: #ffffff;
    color: #0088ff;
    border: 1px solid #e5e5e5;
    padding: 10px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.1s ease;
    flex: 1;
    justify-content: center;
}

.lv-btn-shuffle:hover {
    background: #f8f9fa;
    border-color: #0088ff;
}

/* Right Panel - Video Grid */
.lv-right-panel {
    flex: 1;
    min-width: 0;
}

.lv-video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* Video Card */
.lv-video-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: all 0.1s ease;
}

.lv-video-card:hover {
    transform: translateY(-2px);
}

.lv-video-thumbnail-container {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #f0f0f0;
    margin-bottom: 12px;
    height: 350px;
}

.lv-video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.lv-thumbnail-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lv-video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    z-index: 2;
}

.lv-video-info {
    padding: 0;
    position: relative;
}

.lv-card-menu-btn {
    position: absolute;
    top: 0;
    right: 0;
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #606060;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.1s ease;
    padding: 0;
}

.lv-video-card:hover .lv-card-menu-btn {
    opacity: 1;
}

.lv-card-menu-btn:hover {
    background: #f0f0f0;
}

.lv-video-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #000;
    margin: 0;
    padding-right: 36px;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .lv-video-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .lv-content-wrapper {
        flex-direction: column;
        padding: 16px;
    }

    .lv-left-panel {
        width: 100%;
        position: static;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 20px;
        padding: 20px;
    }

    .lv-playlist-cover {
        width: 200px;
        flex-shrink: 0;
        margin-bottom: 0;
    }

    .lv-playlist-buttons {
        flex-direction: row;
    }

    .lv-video-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .lv-left-panel {
        flex-direction: column;
        align-items: flex-start;
    }

    .lv-playlist-cover {
        width: 100%;
    }

    .lv-video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .lv-playlist-buttons {
        width: 100%;
    }

    .lv-btn-play-all,
    .lv-btn-shuffle {
        padding: 10px 20px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .lv-content-wrapper {
        padding: 12px;
    }

    .lv-left-panel {
        padding: 16px;
    }

    .lv-video-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .lv-video-title {
        font-size: 13px;
    }

    .lv-playlist-title {
        font-size: 20px;
    }
}


/* ============================================
   BELIEFS PAGE STYLES
   ============================================ */

/* Beliefs Header Section */
.beliefs-header-section {
    padding: 32px 24px 24px;
    background: #f8f9fa;
}

.beliefs-header-content {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
}

.beliefs-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0088ff 0%, #ffe502 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.beliefs-icon i {
    font-size: 36px;
    color: #fff;
}

.beliefs-header-text {
    flex: 1;
}

.beliefs-page-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    letter-spacing: 1px;
}

.beliefs-page-subtitle {
    font-size: 16px;
    color: #606060;
    margin: 0;
    line-height: 1.5;
}

/* Responsive Beliefs Header */
@media (max-width: 768px) {
    .beliefs-header-section {
        padding: 24px 16px 16px;
    }

    .beliefs-header-content {
        gap: 16px;
    }

    .beliefs-icon {
        width: 60px;
        height: 60px;
    }

    .beliefs-icon i {
        font-size: 28px;
    }

    .beliefs-page-title {
        font-size: 28px;
    }

    .beliefs-page-subtitle {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .beliefs-header-content {
        flex-direction: column;
        text-align: center;
    }

    .beliefs-page-title {
        font-size: 24px;
    }

    .beliefs-page-subtitle {
        font-size: 13px;
    }
}

/* ============================================
   FESTIVALS PAGE STYLES
   ============================================ */

/* Festivals Header Section */
.festivals-header-section {
    padding: 32px 24px 24px;
    background: #f8f9fa;
}

.festivals-header-content {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
}

.festivals-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ffd93d 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.festivals-icon i {
    font-size: 36px;
    color: #fff;
}

.festivals-header-text {
    flex: 1;
}

.festivals-page-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    letter-spacing: 1px;
}

.festivals-page-subtitle {
    font-size: 16px;
    color: #606060;
    margin: 0;
    line-height: 1.5;
}

/* Responsive Festivals Header */
@media (max-width: 768px) {
    .festivals-header-section {
        padding: 24px 16px 16px;
    }

    .festivals-header-content {
        gap: 16px;
    }

    .festivals-icon {
        width: 60px;
        height: 60px;
    }

    .festivals-icon i {
        font-size: 28px;
    }

    .festivals-page-title {
        font-size: 28px;
    }

    .festivals-page-subtitle {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .festivals-header-content {
        flex-direction: column;
        text-align: center;
    }

    .festivals-page-title {
        font-size: 24px;
    }

    .festivals-page-subtitle {
        font-size: 13px;
    }
}

/* ============================================
   HISTORY PAGE STYLES
   ============================================ */

/* History Header Section */
.history-header-section {
    padding: 32px 24px 24px;
    background: #f8f9fa;
}

.history-header-content {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
}

.history-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.history-icon i {
    font-size: 36px;
    color: #fff;
}

.history-header-text {
    flex: 1;
}

.history-page-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    letter-spacing: 1px;
}

.history-page-subtitle {
    font-size: 16px;
    color: #606060;
    margin: 0;
    line-height: 1.5;
}

/* Responsive History Header */
@media (max-width: 768px) {
    .history-header-section {
        padding: 24px 16px 16px;
    }

    .history-header-content {
        gap: 16px;
    }

    .history-icon {
        width: 60px;
        height: 60px;
    }

    .history-icon i {
        font-size: 28px;
    }

    .history-page-title {
        font-size: 28px;
    }

    .history-page-subtitle {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .history-header-content {
        flex-direction: column;
        text-align: center;
    }

    .history-page-title {
        font-size: 24px;
    }

    .history-page-subtitle {
        font-size: 13px;
    }
}

/* ============================================
   CULTURE PAGE STYLES
   ============================================ */

/* Culture Header Section */
.culture-header-section {
    padding: 32px 24px 24px;
    background: #f8f9fa;
}

.culture-header-content {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
}

.culture-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.culture-icon i {
    font-size: 36px;
    color: #fff;
}

.culture-header-text {
    flex: 1;
}

.culture-page-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    letter-spacing: 1px;
}

.culture-page-subtitle {
    font-size: 16px;
    color: #606060;
    margin: 0;
    line-height: 1.5;
}

/* Responsive Culture Header */
@media (max-width: 768px) {
    .culture-header-section {
        padding: 24px 16px 16px;
    }

    .culture-header-content {
        gap: 16px;
    }

    .culture-icon {
        width: 60px;
        height: 60px;
    }

    .culture-icon i {
        font-size: 28px;
    }

    .culture-page-title {
        font-size: 28px;
    }

    .culture-page-subtitle {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .culture-header-content {
        flex-direction: column;
        text-align: center;
    }

    .culture-page-title {
        font-size: 24px;
    }

    .culture-page-subtitle {
        font-size: 13px;
    }
}

/* ==================== Q&A PAGE STYLES ==================== */
.qna-header-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    margin-bottom: 32px;
}

.qna-header-content {
    display: flex;
    align-items: center;
    gap: 24px;
}

.qna-icon {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0088ff 0%, #4ecdc4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 10px 24px rgba(0, 136, 255, 0.25);
}

.qna-header-text {
    flex: 1;
}

.qna-page-title {
    font-size: 40px;
    font-weight: 800;
    color: #1f2933;
    margin: 0 0 8px 0;
    letter-spacing: 1px;
}

.qna-page-subtitle {
    font-size: 18px;
    color: #52616f;
    margin: 0;
    line-height: 1.6;
}

.qna-container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 20px 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.info-notice {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid #e0e7ff;
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.info-notice i {
    font-size: 28px;
    color: #0088ff;
    margin-top: 4px;
}

.info-notice h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1f2933;
    margin: 0 0 4px;
}

.info-notice p {
    margin: 0;
    color: #52616f;
    line-height: 1.6;
    font-size: 15px;
}

.ask-question,
.questions-section {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px 32px;
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.ask-question h2,
.questions-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1f2933;
    margin-bottom: 20px;
}

.stacked-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field span {
    font-size: 15px;
    font-weight: 600;
    color: #1f2933;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid #d0d7e2;
    background: #f9fafb;
    font-size: 15px;
    color: #1f2933;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #0088ff;
    box-shadow: 0 0 0 4px rgba(0, 136, 255, 0.12);
    background: #ffffff;
}

.form-field textarea {
    min-height: 140px;
    resize: vertical;
}

.btn-pill {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    border: none;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    background: #0088ff;
    color: #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.btn-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(0, 136, 255, 0.25);
}

.question-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.question-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.question-title {
    font-size: 20px;
    font-weight: 700;
    color: #18202a;
    margin: 0 0 6px;
}

.question-meta {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.question-text {
    margin: 0;
    color: #334155;
    line-height: 1.7;
    font-size: 15px;
}

.answers-section {
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    padding-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.answers-section h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1f2933;
    margin: 0;
}

.answer-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.answer-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px 20px;
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.answer-card strong {
    display: block;
    font-size: 15px;
    color: #1f2933;
    margin-bottom: 6px;
}

.answer-text {
    margin: 0;
    color: #475569;
    line-height: 1.6;
    font-size: 15px;
}

.answer-form {
    border: 1px dashed rgba(0, 136, 255, 0.35);
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: rgba(0, 136, 255, 0.04);
}

.answer-form .form-field textarea {
    min-height: 120px;
}

.answer-form .btn-pill {
    margin-top: 4px;
}

.empty-state {
    background: #f8fafc;
    border: 1px dashed rgba(148, 163, 184, 0.6);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    color: #475569;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 15px;
}

.empty-state strong {
    font-size: 16px;
    color: #1f2933;
}

@media (max-width: 992px) {
    .qna-page-title {
        font-size: 34px;
    }

    .ask-question,
    .questions-section {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .qna-header-content {
        flex-direction: column;
        text-align: center;
    }

    .qna-icon {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }

    .qna-container {
        padding: 0 16px 32px;
    }

    .info-notice {
        flex-direction: column;
    }

    .ask-question,
    .questions-section {
        padding: 20px;
    }

    .btn-pill {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .qna-page-title {
        font-size: 28px;
    }

    .qna-page-subtitle {
        font-size: 15px;
    }

    .question-card {
        padding: 20px;
    }

    .answer-form {
        padding: 18px;
    }
}


.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
}

.overlay.active {
    display: block;
}

form.newsletter-form {
    width: 50%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

form.newsletter-form input {
    padding: 18px 24px;
    border-radius: 6px;
    border: none;
    width: 100%;
    max-width: 500px;
    font-size: 14px;
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 50px;
}

form.newsletter-form input::placeholder {
    color: #fff;
    text-transform: capitalize;
    font-size: 18px;
}

form.newsletter-form button {
    padding: 14px 32px;
    background: #fff;
    color: rgb(6, 79, 143);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    height: 57px;
    border-radius: 50px;
    width: fit-content !important;
}

/* ============================================
   QUESTION DETAIL PAGE STYLES
   ============================================ */

.question-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* Back Navigation */
.back-navigation {
    margin-bottom: 20px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: #f5f5f5;
    color: #ff6b6b;
}

.back-btn i {
    font-size: 12px;
}

/* Question Detail Card */
.question-detail-card {
    display: flex;
    gap: 20px;
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.question-voting {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 50px;
}

.question-voting .vote-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    background: #fff;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 16px;
}

.question-voting .vote-btn:hover {
    border-color: #ff6b6b;
    color: #ff6b6b;
    transform: scale(1.1);
}

.question-voting .vote-btn.active.upvote {
    background: #ff6b6b;
    border-color: #ff6b6b;
    color: #fff;
}

.question-voting .vote-btn.active.downvote {
    background: #666;
    border-color: #666;
    color: #fff;
}

.question-voting .vote-count {
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.question-detail-content {
    flex: 1;
}

.question-detail-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.4;
}

.question-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.question-author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

.question-time {
    font-size: 13px;
    color: #888;
}

.question-stats-inline {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: #666;
}

.question-stats-inline i {
    margin-right: 5px;
    color: #999;
}

.question-detail-text {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 25px;
}

.question-detail-text p {
    margin-bottom: 15px;
}

.question-detail-text ul,
.question-detail-text ol {
    margin: 15px 0;
    padding-left: 30px;
}

.question-detail-text li {
    margin-bottom: 10px;
}

.question-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.question-tags .tag {
    padding: 6px 14px;
    background: #f0f0f0;
    color: #666;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

/* Answers Section */
.answers-section {
    margin-bottom: 40px;
}

.answers-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.answers-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
}

.answers-header h2 span {
    color: #ff6b6b;
}

.sort-answers {
    display: flex;
    gap: 10px;
}

.sort-btn {
    padding: 8px 16px;
    background: #f5f5f5;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sort-btn:hover {
    background: #e0e0e0;
}

.sort-btn.active {
    background: #ff6b6b;
    color: #fff;
}

/* Answer Card */
.answer-card {
    display: flex;
    gap: 20px;
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.answer-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.answer-voting {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 45px;
}

.answer-voting .vote-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    background: #fff;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 14px;
}

.answer-voting .vote-btn:hover {
    border-color: #4ecdc4;
    color: #4ecdc4;
    transform: scale(1.1);
}

.answer-voting .vote-btn.active.upvote {
    background: #4ecdc4;
    border-color: #4ecdc4;
    color: #fff;
}

.answer-voting .vote-btn.active.downvote {
    background: #666;
    border-color: #666;
    color: #fff;
}

.answer-voting .vote-count {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.answer-content {
    flex: 1;
}

.answer-text {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.answer-text h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 20px 0 10px 0;
}

.answer-text p {
    margin-bottom: 12px;
}

.answer-text ul,
.answer-text ol {
    margin: 12px 0;
    padding-left: 25px;
}

.answer-text li {
    margin-bottom: 8px;
}

.answer-text blockquote {
    border-left: 4px solid #ff6b6b;
    padding: 15px 20px;
    margin: 20px 0;
    background: #f9f9f9;
    font-style: italic;
    color: #555;
}

.answer-text strong {
    color: #ff6b6b;
    font-weight: 600;
}

.answer-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.answer-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.answer-author .author-avatar {
    width: 38px;
    height: 38px;
    font-size: 14px;
}

.answer-time {
    font-size: 12px;
    color: #999;
}

.answer-actions {
    display: flex;
    gap: 15px;
}

.action-btn {
    background: none;
    border: none;
    color: #888;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.action-btn:hover {
    color: #ff6b6b;
}

.action-btn i {
    font-size: 12px;
}

/* Your Answer Section */
.your-answer-section {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.your-answer-section h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-group .required {
    color: #ff6b6b;
}

.form-group .form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group .form-control:focus {
    outline: none;
    border-color: #4ecdc4;
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

.form-group textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.form-hint {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: #888;
}

.form-hint i {
    color: #4ecdc4;
    margin-right: 5px;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.btn-submit-answer {
    padding: 14px 30px;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-submit-answer:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.btn-cancel {
    padding: 14px 30px;
    background: #f5f5f5;
    color: #666;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: #e0e0e0;
}

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

    .question-detail-card,
    .answer-card {
        flex-direction: column;
        padding: 20px;
    }

    .question-voting,
    .answer-voting {
        flex-direction: row;
        width: 100%;
        justify-content: center;
    }

    .question-detail-title {
        font-size: 22px;
    }

    .question-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .answers-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-submit-answer,
    .btn-cancel {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .question-detail-container {
        padding: 20px 15px;
    }

    .question-detail-title {
        font-size: 20px;
    }

    .answers-header h2 {
        font-size: 20px;
    }

    .your-answer-section {
        padding: 20px;
    }
}

/* ============================================
   HOW IT WORKS INFO BOX
   ============================================ */

.how-it-works-box {
    background: linear-gradient(135deg, #e8f9f7 0%, #f0f8ff 100%);
    border: 2px solid #4ecdc4;
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
    position: relative;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.15);
}

.how-it-works-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.how-it-works-header i {
    font-size: 28px;
    color: #4ecdc4;
}

.how-it-works-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.how-it-works-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.step {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(78, 205, 196, 0.3);
}

.step-content {
    flex: 1;
}

.step-content strong {
    display: block;
    font-size: 15px;
    color: #333;
    margin-bottom: 5px;
}

.step-content p {
    margin: 0;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.close-info-box {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
    font-size: 14px;
}

.close-info-box:hover {
    background: white;
    color: #ff6b6b;
    transform: rotate(90deg);
}

/* Responsive Info Box */
@media (max-width: 768px) {
    .how-it-works-steps {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .how-it-works-box {
        padding: 20px;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

/* ============================================
   ASK QUESTION MODAL STYLES
   ============================================ */

/* Modal Overlay */
.ask-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
    overflow-y: auto;
}

/* Modal Container */
.ask-modal {
    background: white;
    border-radius: 12px;
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
    margin: auto;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Header */
.ask-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 2px solid #f0f0f0;
    background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 100%);
    border-radius: 12px 12px 0 0;
}

.ask-modal-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ask-modal-header h2 i {
    font-size: 28px;
}

.modal-close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-size: 20px;
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Modal Body */
.ask-modal-body {
    padding: 30px;
}

/* Form Groups */
.ask-modal-body .form-group {
    margin-bottom: 25px;
}

.ask-modal-body label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ask-modal-body label i {
    color: #4ecdc4;
    font-size: 16px;
}

.ask-modal-body .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f9f9f9;
}

.ask-modal-body .form-control:focus {
    outline: none;
    border-color: #4ecdc4;
    background: white;
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

.ask-modal-body textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.ask-modal-body select.form-control {
    cursor: pointer;
}

/* Form Hints */
.form-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #999;
}

#titleCounter,
#detailsCounter {
    font-weight: 600;
    color: #4ecdc4;
}

/* Modal Actions */
.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.btn-cancel {
    padding: 12px 30px;
    background: #e0e0e0;
    color: #666;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-cancel:hover {
    background: #d0d0d0;
    transform: translateY(-2px);
}

.btn-submit-question {
    padding: 12px 30px;
    background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
}

.btn-submit-question:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
}

.btn-submit-question:active {
    transform: translateY(0);
}

/* Success Toast */
.success-toast {
    position: fixed;
    top: 100px;
    right: 30px;
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: white;
    padding: 18px 25px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.4);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 15px;
    z-index: 10001;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.4s ease;
}

.success-toast.show {
    opacity: 1;
    transform: translateX(0);
}

.success-toast i {
    font-size: 24px;
}

/* New Question Animation */
.question-card.new-question {
    animation: highlightNew 2s ease;
}

@keyframes highlightNew {

    0%,
    100% {
        background: white;
    }

    50% {
        background: #e8f9f7;
    }
}

/* Responsive Modal Styles */
@media (max-width: 768px) {
    .ask-modal {
        max-width: 95%;
        margin: 20px auto;
    }

    .ask-modal-header {
        padding: 20px;
    }

    .ask-modal-header h2 {
        font-size: 20px;
    }

    .ask-modal-body {
        padding: 20px;
    }

    .modal-actions {
        flex-direction: column;
    }

    .btn-cancel,
    .btn-submit-question {
        width: 100%;
        justify-content: center;
    }

    .success-toast {
        right: 15px;
        left: 15px;
        top: 80px;
    }
}

@media (max-width: 480px) {
    .ask-modal-header h2 {
        font-size: 18px;
    }

    .ask-modal-header h2 i {
        font-size: 22px;
    }

    .modal-close-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .ask-modal-body {
        padding: 15px;
    }

    .ask-modal-body .form-control {
        padding: 10px 12px;
        font-size: 13px;
    }
}

/* ============================================
   SETTINGS PAGE STYLES (YouTube-inspired)
   ============================================ */

.settings-hero {
    margin: 40px 40px 24px;
    padding: 32px;
    border-radius: 20px;
    background: linear-gradient(135deg, #0088ff 0%, #4ecdc4 100%);
    color: #ffffff;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 24px 48px rgba(0, 136, 255, 0.2);
}

.settings-hero h1 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 8px;
}

.settings-hero p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    max-width: 520px;
    color: rgba(255, 255, 255, 0.9);
}

.settings-hero .btn-pill {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: none;
}

.settings-hero .btn-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.settings-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
    padding: 0 40px 60px;
}

.settings-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #ffffff;
    border-radius: 20px;
    padding: 20px 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.05);
    position: sticky;
    top: 120px;
    align-self: flex-start;
}

.settings-tab {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: transparent;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: rgba(15, 23, 42, 0.72);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    text-align: left;
    cursor: pointer;
}

.settings-tab i {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 136, 255, 0.12);
    color: #0088ff;
    font-size: 16px;
}

.settings-tab.active,
.settings-tab:hover {
    background: rgba(0, 136, 255, 0.12);
    color: #0088ff;
}

.settings-tab.active i,
.settings-tab:hover i {
    background: #0088ff;
    color: #ffffff;
}

.settings-panels {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.settings-panel {
    display: none;
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.05);
    padding: 32px;
}

.settings-panel.active {
    display: block;
    animation: panelFade 0.25s ease;
}

.account-action-feedback {
    display: none;
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(0, 136, 255, 0.12);
    color: #0f172a;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(0, 136, 255, 0.25);
}

.account-action-feedback.visible {
    display: block;
    animation: panelFade 0.25s ease;
}

@keyframes panelFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.panel-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
}

.panel-header p {
    margin: 4px 0 0;
    color: rgba(15, 23, 42, 0.65);
    font-size: 15px;
}

.panel-group {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.panel-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    padding: 20px 24px;
    background: #fdfdff;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.panel-card:hover {
    border-color: rgba(0, 136, 255, 0.5);
    box-shadow: 0 16px 32px rgba(0, 136, 255, 0.12);
}

.panel-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #0f172a;
}

.panel-card p {
    margin: 0;
    color: rgba(15, 23, 42, 0.65);
    line-height: 1.6;
}

.panel-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.field-inline {
    display: flex;
    gap: 12px;
    align-items: center;
}

.field-inline input,
.field-inline select,
.panel-card textarea {
    flex: 1;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    padding: 12px 16px;
    font-size: 15px;
    font-family: inherit;
    color: #1f2937;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field-inline input:focus,
.field-inline select:focus,
.panel-card textarea:focus {
    outline: none;
    border-color: #0088ff;
    box-shadow: 0 0 0 4px rgba(0, 136, 255, 0.12);
}

.panel-card textarea {
    resize: vertical;
    min-height: 120px;
}

.panel-card .actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.btn-text {
    background: none;
    border: none;
    color: #0088ff;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.btn-text:hover {
    background: rgba(0, 136, 255, 0.12);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.15);
    background: #ffffff;
    color: #0f172a;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-outline:hover {
    border-color: #0088ff;
    color: #0088ff;
    box-shadow: 0 10px 20px rgba(0, 136, 255, 0.12);
}

.toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.toggle-slider {
    position: relative;
    width: 46px;
    height: 26px;
    background: rgba(148, 163, 184, 0.35);
    border-radius: 999px;
    transition: background 0.2s ease;
}

.toggle-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
    transition: transform 0.2s ease;
}

.toggle-label {
    font-size: 14px;
    font-weight: 600;
    color: rgba(15, 23, 42, 0.65);
}

.toggle input:checked+.toggle-slider {
    background: #0088ff;
}

.toggle input:checked+.toggle-slider::after {
    transform: translateX(18px);
}

.toggle input:checked~.toggle-label {
    color: #0088ff;
}

/* Table styles for billing section */
.billing-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.billing-table thead {
    background: rgba(15, 23, 42, 0.04);
}

.billing-table th,
.billing-table td {
    padding: 14px 18px;
    font-size: 14px;
    text-align: left;
    color: rgba(15, 23, 42, 0.72);
}

.billing-table tbody tr+tr {
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

/* Empty state styling */
.empty-state {
    padding: 40px;
    border: 1px dashed rgba(148, 163, 184, 0.7);
    border-radius: 18px;
    text-align: center;
    color: rgba(15, 23, 42, 0.55);
    background: #f8fafc;
}

.empty-state strong {
    font-size: 18px;
    color: #0f172a;
}

.empty-state span {
    display: block;
    margin-top: 8px;
    font-size: 14px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .settings-layout {
        grid-template-columns: 220px 1fr;
        gap: 20px;
    }

    .settings-hero {
        margin: 32px 24px 20px;
        padding: 28px;
    }
}

@media (max-width: 992px) {
    .settings-layout {
        grid-template-columns: 1fr;
    }

    .settings-nav {
        flex-direction: row;
        position: static;
        padding: 14px;
        gap: 8px;
        overflow-x: auto;
        border-radius: 16px;
    }

    .settings-tab {
        flex: 1;
        justify-content: center;
        min-width: 160px;
    }
}

@media (max-width: 768px) {
    .settings-hero {
        flex-direction: column;
        align-items: flex-start;
        margin: 28px 20px 18px;
        padding: 24px;
    }

    .settings-layout {
        padding: 0 20px 40px;
    }

    .settings-panel {
        padding: 24px;
    }

    .panel-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .panel-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .field-inline {
        flex-direction: column;
        width: 100%;
        align-items: stretch;
    }

    .field-inline .btn-pill,
    .panel-card .btn-pill,
    .btn-outline,
    .btn-text {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .settings-hero {
        margin: 24px 16px 16px;
        padding: 20px;
    }

    .settings-layout {
        padding: 0 16px 32px;
    }

    .settings-nav {
        padding: 12px;
    }

    .settings-tab {
        min-width: 140px;
        padding: 10px 12px;
    }

    .settings-panel {
        padding: 20px;
    }

    .panel-card {
        padding: 18px;
    }
}

/* Auth Pages Styles */
.auth-page {
    min-height: 100vh;
    display: flex;
    font-family: "Roboto", sans-serif;
}

.auth-image {
    flex: 1;
    background: url("{{ asset('front/images/chiristy-bg.jpg') }}") no-repeat center center;
    background-size: cover;
    position: relative;
}

.auth-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 136, 255, 0.8);
    z-index: 1;
}

.auth-image.signup::before {
    background: rgba(255, 229, 2, 0.8);
}

.auth-form {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    z-index: 2;
}

.auth-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 3;
}

.auth-logo {
    margin-bottom: 30px;
}

.auth-logo img {
    height: 60px;
}

.auth-form-group {
    margin-bottom: 20px;
    text-align: left;
}

.auth-form-group label {
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
    display: block;
}

.auth-form-control {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    width: 100%;
}

.auth-form-control:focus {
    border-color: #0088ff;
    box-shadow: 0 0 0 2px rgba(0, 136, 255, 0.2);
    outline: none;
}

.auth-btn {
    border: none;
    border-radius: 8px;
    padding: 12px;
    width: 100%;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.auth-btn.signin {
    background: #0088ff;
    color: #fff;
}

.auth-btn.signin:hover {
    background: #0056b3;
}

.auth-btn.signup {
    background: #ffe502;
    color: #333;
}

.auth-btn.signup:hover {
    background: #ffb700;
}

.auth-link {
    margin-top: 20px;
    color: #666;
}

.auth-link a {
    color: #0088ff;
    text-decoration: none;
}

.auth-link a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .auth-page {
        flex-direction: column;
    }

    .auth-image {
        min-height: 300px;
    }

    .auth-form {
        padding: 20px;
    }
}

/* Q&A Styles */
.question-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    padding: 20px;
    min-height: 150px;
}

.question-header h3 {
    margin: 0 0 5px;
    color: #333;
}

.question-meta {
    color: #666;
    font-size: 14px;
    margin: 0 0 15px;
}

.question-actions,
.answer-actions {
    display: flex;
    gap: 10px;
    margin: 15px 0;
}

.like-btn,
.dislike-btn {
    background: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.like-btn:hover {
    background: #e6f7ff;
    border-color: #0088ff;
}

.dislike-btn:hover {
    background: #ffe6e6;
    border-color: #ff4444;
}

.like-btn:disabled,
.dislike-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.answers-section h4 {
    margin: 20px 0 10px;
    color: #333;
}

.answer-card {
    background: #f9f9f9;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 10px;
    min-height: 80px;
}

.answer-card strong {
    color: #0088ff;
}

.answer-form {
    margin-top: 15px;
    display: none;
}

.form-field {
    margin-bottom: 15px;
}

.form-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.btn-pill {
    background: #0088ff;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.btn-pill:hover {
    background: #0056b3;
}

.like-btn.active {
    color: #0088ff;
}

.dislike-btn.active {
    color: #ff4444;
}

.reply-btn {
    background: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.reply-btn:hover {
    background: #f0f0f0;
    border-color: #ccc;
}

/* Q&A Mobile Responsiveness */
@media (max-width: 768px) {
    .question-card {
        padding: 15px;
        margin-bottom: 15px;
    }

    .question-actions,
    .answer-actions {
        flex-wrap: wrap;
        gap: 8px;
        margin: 10px 0;
    }

    .like-btn,
    .dislike-btn,
    .reply-btn {
        font-size: 12px;
        padding: 4px 8px;
    }

    .answer-card {
        padding: 10px;
        margin-bottom: 8px;
    }

    .answer-form {
        margin-top: 10px;
    }

    .form-field {
        margin-bottom: 10px;
    }

    .form-field input,
    .form-field textarea {
        font-size: 13px;
        padding: 8px;
    }

    .btn-pill {
        font-size: 13px;
        padding: 8px 16px;
    }

    .answers-section h4 {
        margin: 15px 0 8px;
        font-size: 16px;
    }
}

/* General Dashboard Mobile Responsiveness (All Pages) */
@media (max-width: 768px) {
    .main-content {
        padding-left: 0;
        margin-left: 0;
    }

    .qna-container,
    .content-section,
    .hero-banner,
    .festival-section,
    .video-grid,
    .category-grid {
        padding: 15px;
    }

    .section-title {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .info-notice {
        padding: 15px;
        flex-direction: column;
        text-align: center;
    }

    .info-notice i {
        margin-bottom: 10px;
    }

    .stacked-form {
        padding: 20px 15px;
    }

    /* Ensure cards are touch-friendly */
    .video-card,
    .festival-card,
    .category-card,
    .question-card,
    .answer-card {
        margin-bottom: 15px;
    }

    /* Buttons and interactions */
    .btn-white,
    .btn-signin,
    .btn-signup {
        padding: 8px 12px;
        font-size: 12px;
        margin: 2px;
    }

    /* Grids and flex layouts */
    .row {
        margin: 0 -5px;
    }

    .col,
    [class*="col-"] {
        padding: 0 5px;
    }
}