/* India Hood Public - Premium Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Bengali:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette - Light Theme */
    --primary: hsl(145, 65%, 17%);
    --primary-hover: hsl(145, 65%, 12%);
    --primary-light: hsl(145, 30%, 94%);
    --secondary: hsl(45, 95%, 45%);
    --secondary-hover: hsl(45, 95%, 38%);
    --secondary-light: hsl(45, 95%, 94%);
    --accent: hsl(45, 95%, 48%);
    
    --success: hsl(142, 72%, 29%);
    --success-light: hsl(142, 72%, 94%);
    --warning: hsl(38, 92%, 50%);
    --danger: hsl(0, 84%, 60%);
    --danger-light: hsl(0, 84%, 96%);

    --background: hsl(0, 0%, 98%);
    --surface: hsl(0, 0%, 100%);
    --surface-glass: hsla(0, 0%, 100%, 0.8);
    --border: hsl(0, 0%, 90%);
    
    --text-main: hsl(0, 0%, 10%);
    --text-muted: hsl(0, 0%, 45%);
    --text-white: hsl(0, 0%, 100%);

    --font-bengali: 'Noto Serif Bengali', 'Hind Siliguri', serif;
    --font-english: 'Outfit', sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --yt-pill-bg: rgba(0, 0, 0, 0.05);
    --yt-pill-hover: rgba(0, 0, 0, 0.09);
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 10px 20px -5px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.08);
    
    --header-height: 56px;
}

/* Dark Theme overrides based on user preferences */
@media (prefers-color-scheme: dark) {
    :root {
        --primary: hsl(45, 100%, 50%);
        --primary-hover: hsl(45, 100%, 42%);
        --primary-light: hsl(45, 100%, 12%);
        --secondary: hsl(145, 75%, 55%);
        --secondary-hover: hsl(145, 75%, 65%);
        --secondary-light: hsl(145, 75%, 15%);
        
        --success: hsl(142, 69%, 58%);
        --success-light: hsl(142, 69%, 12%);
        --warning: hsl(38, 92%, 58%);
        --danger: hsl(0, 84%, 65%);
        --danger-light: hsl(0, 84%, 14%);

        --background: hsl(0, 0%, 0%);
        --surface: hsl(0, 0%, 4%);
        --surface-glass: hsla(0, 0%, 4%, 0.85);
        --border: hsl(0, 0%, 12%);
        
        --text-main: hsl(0, 0%, 100%);
        --text-muted: hsl(0, 0%, 65%);
        
        --yt-pill-bg: rgba(255, 255, 255, 0.1);
        --yt-pill-hover: rgba(255, 255, 255, 0.15);
        
        --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
        --shadow-md: 0 10px 20px -5px rgba(0, 0, 0, 0.4);
        --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
    }
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-bengali);
    background-color: var(--background);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 60px; /* Space for mobile footer navigation */
}

@media (min-width: 768px) {
    body {
        padding-bottom: 0;
    }
}

/* Admin-managed ad banner slot — shown just below sticky header, above all content */
.admin-ad-banner-top {
    width: 100%;
    background-color: var(--surface);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    overflow: hidden;
    text-align: center;
}

.admin-ad-banner-top ins,
.admin-ad-banner-top iframe,
.admin-ad-banner-top img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Typography & Numbers styling */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-main);
}

p {
    font-weight: 400;
    color: var(--text-muted);
}

.eng-num {
    font-family: var(--font-english);
    font-weight: 500;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

/* App Shell Components */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header Component */
.header {
    height: var(--header-height);
    background-color: #051a0e;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: transform var(--transition-normal);
}

.header .logo-text {
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    color: var(--text-white);
}

.header .nav-link {
    color: rgba(255, 255, 255, 0.7);
}

.header .nav-link:hover, .header .nav-link.active {
    color: var(--text-white);
    border-bottom-color: var(--text-white);
}

.header .btn-outline {
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
}

.header .btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    border-color: var(--text-white);
}

.header .btn-secondary {
    background-color: hsla(145, 60%, 15%, 0.8);
    color: hsl(145, 80%, 45%);
}

.header .btn-secondary:hover {
    background-color: hsla(145, 60%, 20%, 0.9);
    color: hsl(145, 80%, 50%);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-weight: 700;
    font-size: 20px;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--text-main) 30%, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: none;
    align-items: center;
    gap: 24px;
}

@media (min-width: 992px) {
    .nav-menu {
        display: flex;
    }
}

.nav-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 6px 0;
    border-bottom: 2px solid transparent;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.auth-buttons {
    display: none;
    align-items: center;
    gap: 12px;
}

@media (min-width: 992px) {
    .auth-buttons {
        display: flex;
    }
}

/* Primary and Secondary Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    font-family: var(--font-bengali);
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background-color: #ffcc00;
    color: #000000 !important;
}

.btn-primary:hover {
    background-color: #e6b800;
    box-shadow: 0 4px 12px rgba(255, 204, 0, 0.25);
    opacity: 0.95;
}

.btn-secondary {
    background-color: var(--primary-light);
    color: var(--primary);
}

.btn-secondary:hover {
    opacity: 0.9;
    filter: brightness(0.95);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border);
    color: var(--text-main);
}

.btn-outline:hover {
    background-color: var(--border);
}

.btn-danger {
    background-color: var(--danger);
    color: var(--text-white);
}

.btn-danger:hover {
    background-color: var(--secondary-hover);
}

.btn-logout {
    width: 100%;
    border: 1px solid var(--danger);
    background-color: transparent;
    color: var(--danger);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    padding: 10px 14px;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.btn-logout:hover {
    background-color: var(--danger);
    color: var(--text-white) !important;
}

/* Sticky Mobile Bottom Navigation */
.mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: #051a0e;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 999;
}

@media (min-width: 992px) {
    .mobile-nav {
        display: none;
    }
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
    font-weight: 600;
    gap: 4px;
    text-decoration: none;
}

.mobile-nav-item svg {
    width: 20px;
    height: 20px;
}

.mobile-nav-item.active {
    color: #ffcc00 !important;
}

.mobile-nav-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-badge {
    position: absolute;
    top: -4px;
    right: -6px;
    background-color: #ffcc00;
    color: #000000;
    font-size: 9px;
    font-weight: 700;
    min-width: 14px;
    height: 14px;
    padding: 0 3px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #051a0e;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    line-height: 1;
}

/* Hero Section Styles */
.hero {
    background: radial-gradient(circle at center, hsl(145, 60%, 12%) 0%, hsl(145, 80%, 4%) 70%, #000000 100%);
    border-bottom: 1px solid var(--border);
    padding: 16px 0 20px 0;
    text-align: center;
}

.hero-title {
    color: #ffcc00 !important;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.7) !important;
}

.hero .btn-primary {
    background: linear-gradient(135deg, hsl(45, 100%, 50%), hsl(45, 100%, 42%)) !important;
    color: #030f08 !important;
    font-weight: 700 !important;
    border: none !important;
}

.hero .btn-primary:hover {
    box-shadow: 0 4px 14px hsla(45, 100%, 50%, 0.4) !important;
    opacity: 0.95 !important;
}

.hero .btn-secondary {
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: var(--text-white) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.hero .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: var(--text-white) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.hero-tagline {
    font-size: clamp(12px, 3vw, 14px);
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.hero-title {
    font-size: clamp(30px, 8vw, 42px);
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--text-main);
    line-height: 1.25;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 56px;
    }
}

.hero-subtitle {
    font-size: clamp(14px, 4vw, 17px);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 28px auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Section Split Layout & Graphic */
.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-svg {
    max-width: 100%;
    height: auto;
    max-height: 150px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

@media (min-width: 992px) {
    .hero {
        padding: 40px 0 48px 0;
    }
    
    .hero-container {
        grid-template-columns: 1.25fr 0.75fr;
        gap: 48px;
        text-align: left;
    }
    
    .hero-content {
        align-items: flex-start;
    }
    
    .hero-subtitle {
        margin: 0 0 20px 0;
    }
    
    .hero-actions {
        justify-content: flex-start;
    }
    
    .hero-svg {
        max-height: 350px;
    }
}

/* Advertisement Banner container */
.ad-banner {
    background-color: var(--border);
    border-radius: var(--radius-md);
    margin: 32px 0;
    padding: 16px;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    border: 1px dashed var(--text-muted);
}

/* Sections Layout */
.section {
    padding: 20px 0;
}

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

.section-title {
    font-size: 22px;
    position: relative;
    padding-bottom: 8px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: var(--radius-full);
}

/* Grid Layout for lists */
.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* CARD MODULE */
.card {
    background-color: var(--surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-img-wrapper {
    position: relative;
    height: 200px;
    background-color: var(--border);
    overflow: hidden;
}

.card-img-link {
    display: block;
    width: 100%;
    height: 100%;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-normal);
}

.card:hover .card-img {
    transform: scale(1.04);
}

.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--primary);
    color: var(--text-white);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
}

.card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-family: var(--font-english);
}

.card-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-main);
}

.card-desc {
    font-size: 14px;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-stats {
    margin-top: auto;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

.progress-container {
    height: 8px;
    background-color: var(--border);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 12px;
    display: flex;
}

.progress-bar {
    height: 100%;
}

.progress-bar.support {
    background-color: var(--success);
}

.progress-bar.disagree {
    background-color: var(--danger);
}

.stats-legend {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 600;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
}

.dot.support { background-color: var(--success); }
.dot.disagree { background-color: var(--danger); }
.dot.votes { background-color: var(--primary); }

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background-color: var(--primary-light);
    border-top: 1px solid var(--border);
    font-size: 13px;
    font-weight: 600;
}

.card-footer-action {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--primary);
}

/* Detail page template styling */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 16px;
}

@media (min-width: 992px) {
    .detail-layout {
        grid-template-columns: 2fr 1fr;
    }
}

.detail-main {
    background-color: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
}

@media (min-width: 768px) {
    .detail-main {
        padding: 0;
    }
}

.detail-img-wrapper {
    aspect-ratio: 21/9;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 24px;
    background-color: var(--border);
}

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

.detail-title {
    font-size: 24px;
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .detail-title {
        font-size: 30px;
    }
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: 13px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.detail-desc {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-main);
    white-space: pre-line;
}

/* Floating Action / Sidebar Vote Box */
.detail-sidebar-box {
    background-color: var(--surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    height: fit-content;
    position: sticky;
    top: 90px;
}

.vote-action-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.vote-btn {
    width: 100%;
    padding: 14px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-fast);
}

.vote-btn-support {
    background-color: var(--success-light);
    color: var(--success);
    border-color: var(--success);
}

.vote-btn-support.active, .vote-btn-support:hover {
    background-color: var(--success);
    color: var(--text-white);
}

.vote-btn-disagree {
    background-color: var(--danger-light);
    color: var(--danger);
    border-color: var(--danger);
}

.vote-btn-disagree.active, .vote-btn-disagree:hover {
    background-color: var(--danger);
    color: var(--text-white);
}

/* YouTube-like Action Bar */
.yt-actions-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    margin-bottom: 16px;
    flex-wrap: nowrap;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
}

.yt-actions-bar::-webkit-scrollbar {
    display: none; /* Safari/Chrome */
}

.yt-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background-color: var(--yt-pill-bg);
    border: 1px solid transparent;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
    flex-shrink: 0;
}

.yt-action-btn svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.2px;
    transition: transform var(--transition-fast);
}

.yt-action-btn:hover {
    background-color: var(--yt-pill-hover);
}

.yt-action-btn:hover svg {
    transform: scale(1.15);
}

.yt-action-btn.support.active {
    background-color: var(--success-light);
    color: var(--success);
    border-color: var(--success);
}

.yt-action-btn.support.active svg {
    fill: var(--success);
    color: var(--success);
}

.yt-action-btn.disagree.active {
    background-color: var(--danger-light);
    color: var(--danger);
    border-color: var(--danger);
}

.yt-action-btn.disagree.active svg {
    fill: var(--danger);
    color: var(--danger);
}

/* Sharing section */
.share-section {
    margin-top: 24px;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.share-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.share-buttons {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    border-radius: var(--radius-sm);
    color: var(--text-white);
    transition: opacity var(--transition-fast);
}

.share-btn:hover {
    opacity: 0.9;
}

.share-btn svg {
    width: 18px;
    height: 18px;
    display: block;
}

.share-wa { background-color: #25D366; }
.share-fb { background-color: #1877F2; }
.share-x { background-color: #000000; }
.share-tg { background-color: #0088cc; }
.share-copy { background-color: var(--text-muted); cursor: pointer; }
.share-native { background-color: var(--primary); cursor: pointer; }

/* Dynamic options lists for Poll voting */
.poll-options-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.poll-option-row {
    position: relative;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    cursor: pointer;
    transition: all var(--transition-fast);
    overflow: hidden;
}

.poll-option-row:hover {
    border-color: var(--primary);
}

.poll-option-bg {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    background-color: var(--primary-light);
    z-index: 0;
    transition: width var(--transition-normal);
}

.poll-option-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.poll-option-row input[type="radio"] {
    margin-right: 8px;
}

/* Comments section styling */
.comments-section {
    margin-top: 32px;
    border-top: 1px solid var(--border);
    padding-top: 32px;
}

.comment-input-area {
    margin-bottom: 24px;
}

.comment-textarea {
    width: 100%;
    min-height: 100px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background-color: var(--surface);
    color: var(--text-main);
    padding: 12px;
    font-family: var(--font-bengali);
    font-size: 15px;
    resize: vertical;
    margin-bottom: 8px;
}

.comment-textarea:focus {
    outline: none;
    border-color: var(--primary);
}

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

.comment-node {
    border-left: 2px solid var(--border);
    padding-left: 16px;
    margin-bottom: 8px;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 6px;
}

.comment-author {
    font-weight: 700;
    color: var(--text-main);
}

.comment-date {
    color: var(--text-muted);
}

.comment-body {
    font-size: 14px;
    margin-bottom: 8px;
}

.comment-actions {
    display: flex;
    gap: 16px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.comment-action-btn {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.comment-action-btn:hover {
    color: var(--primary);
}

.comment-replies {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reply-form-container {
    margin-top: 8px;
}

/* Form Styles */
.form-card {
    background-color: var(--surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    max-width: 500px;
    margin: 40px auto;
    padding: 24px;
}

@media (min-width: 768px) {
    .form-card {
        padding: 32px;
    }
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background-color: var(--surface);
    color: var(--text-main);
    font-family: var(--font-bengali);
    font-size: 15px;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

.form-message {
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 600;
}

.form-message.success {
    background-color: var(--success-light);
    color: var(--success);
    border: 1px solid var(--success);
}

.form-message.error {
    background-color: var(--danger-light);
    color: var(--danger);
    border: 1px solid var(--danger);
}

.form-footer {
    text-align: center;
    font-size: 13px;
    margin-top: 16px;
}

.form-footer a {
    color: var(--primary);
    font-weight: 700;
}

/* Profile page custom styles */
.profile-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 32px;
}

.profile-grid > aside,
.profile-grid > section {
    min-width: 0;
}

@media (min-width: 992px) {
    .profile-grid {
        grid-template-columns: 1fr 3fr;
    }
}

.profile-sidebar {
    background-color: var(--surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 24px;
    text-align: center;
    height: fit-content;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.profile-name {
    font-size: 20px;
    font-weight: 700;
}

.profile-phone {
    font-size: 13px;
    color: var(--text-muted);
    font-family: var(--font-english);
    margin-bottom: 20px;
}

/* Tabs UI for listings on profile & details */
.tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
    overflow-x: auto;
    scrollbar-width: none; /* Hide Firefox scrollbar */
    -ms-overflow-style: none;  /* Hide IE/Edge scrollbar */
}

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

.tab-btn {
    padding: 12px 20px;
    font-weight: 700;
    font-size: 15px;
    color: var(--text-muted);
    border: none;
    background: transparent;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-content {
    display: none;
}

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

/* Admin Dashboard layout and elements */
.admin-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
}

.admin-layout > aside,
.admin-layout > .admin-card {
    min-width: 0;
}

@media (min-width: 992px) {
    .admin-layout {
        grid-template-columns: 240px 1fr;
    }
}

.admin-nav {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: fit-content;
}

.admin-nav-item {
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-nav-item:hover, .admin-nav-item.active {
    background-color: var(--primary-light);
    color: var(--primary);
}

.admin-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.stat-item {
    background-color: var(--primary-light);
    border-radius: var(--radius-sm);
    padding: 16px;
    text-align: center;
    border: 1px solid var(--border);
}

.stat-num {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-english);
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 700;
}

/* Administrative lists / tables styling */
.admin-table-wrapper {
    overflow-x: auto;
    margin-top: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    text-align: left;
}

.admin-table th, .admin-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    transition: background-color var(--transition-fast);
}

.admin-table th {
    background-color: var(--background);
    font-weight: 700;
}

.admin-table tr {
    transition: background-color var(--transition-fast);
}

.admin-table tr:hover {
    background-color: var(--primary-light);
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.status-pill {
    display: inline-block;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
}

.status-pill.approved { background-color: var(--success-light); color: var(--success); }
.status-pill.pending { background-color: hsl(48, 96%, 90%); color: hsl(38, 92%, 40%); }
.status-pill.rejected { background-color: var(--danger-light); color: var(--danger); }
.status-pill.hidden { background-color: var(--border); color: var(--text-muted); }

/* Search & Filter Header Layout */
.filter-bar {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 32px;
}

.filter-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .filter-form {
        grid-template-columns: repeat(4, 1fr) auto;
    }
}

/* Toast popup messages styling */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 350px;
}

.toast {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--primary);
    display: flex;
    flex-direction: column;
    gap: 4px;
    animation: toast-in 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.success { border-left-color: var(--success); }
.toast.error { border-left-color: var(--danger); }
.toast.info { border-left-color: var(--warning); }

.toast-title { font-weight: 700; font-size: 14px; }
.toast-msg { font-size: 13px; color: var(--text-muted); }

@keyframes toast-in {
    from { transform: translateX(100%) translateY(-20px); opacity: 0; }
    to { transform: translateX(0) translateY(0); opacity: 1; }
}

/* Footer styling */
.footer {
    background-color: #051a0e;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    padding: 40px 0;
    text-align: center;
}

.footer p {
    margin: 8px 0 16px 0;
    line-height: 1.6;
}

.footer-tagline-1 {
    color: #ffcc00;
    font-size: 15px;
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

.footer-tagline-2 {
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    font-weight: 500;
    display: block;
}

.footer-logo {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-white);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-copy {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    font-family: var(--font-english);
}

/* --- Modern Menu Toggle Button & Drawer --- */
.menu-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: none;
    border: none;
    color: var(--text-white);
    cursor: pointer;
    padding: 0;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.menu-toggle-btn:hover {
    color: var(--success);
    transform: scale(1.05);
}

.menu-toggle-btn:active {
    transform: scale(0.95);
}

@media (min-width: 992px) {
    .menu-toggle-btn {
        display: none;
    }
}

/* Mobile Sliding Menu Drawer */
.mobile-menu-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    max-width: 85vw;
    height: 100%;
    background-color: #051a0e;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.4);
    z-index: 2000;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu-drawer.active {
    right: 0;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

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

body.drawer-open {
    overflow: hidden;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    height: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.close-drawer-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.close-drawer-btn:hover {
    color: var(--text-white);
    transform: rotate(90deg);
}

.drawer-content {
    flex: 1;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.drawer-link {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 0;
    transition: color var(--transition-fast), padding-left var(--transition-fast);
    display: block;
}

.drawer-link:hover, .drawer-link.active {
    color: var(--text-white);
    padding-left: 4px;
}

.drawer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.08);
}

.drawer-auth {
    display: flex;
    flex-direction: column;
}

/* Report Button Trigger */
.report-btn-trigger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 0 0 8px;
    color: var(--text-muted);
    opacity: 0.55;
    flex-shrink: 0;
    line-height: 1;
    transition: opacity 0.2s, color 0.2s;
}

.report-btn-trigger:hover {
    opacity: 1;
    color: var(--secondary);
}


