@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ===== CSS Variables ===== */
/* ===== Splash Screen ===== */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a192f;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s;
}

#splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

body.dark-mode #splash-screen {
    background: #0a192f;
}

.splash-logo {
    width: 120px;
    height: auto;
    margin-bottom: 5px;
    animation: pulse 2s infinite ease-in-out;
}

.splash-text {
    margin-top: 10px;
    margin-bottom: 25px;
    font-weight: 500;
    color: #ffffff;
    font-family: inherit;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.splash-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid #6366f1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

body.dark-mode .splash-spinner {
    border-color: rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary, #6366f1);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* Existing Styles */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #3b82f6;
    --accent: #22d3ee;
    --success: #22c55e;
    --warning: #eab308;
    --danger: #ef4444;
    --dark: #0f172a;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.45);
    --glass-strong: rgba(255, 255, 255, 0.8);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    /* Dynamic Background Colors */
    --bg-stop-1: #1e3a8a;
    --bg-stop-2: #3b82f6;
    --bg-stop-3: #93c5fd;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Hide reCAPTCHA badge but keep it functional */
.grecaptcha-badge {
    visibility: hidden !important;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    background-color: #0a192f;
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--primary-dark));
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background-clip: padding-box;
    border: 3px solid transparent;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-dark), var(--primary));
    border: 3px solid transparent;
}

/* Shake Animation */
@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(5px);
    }
}

.shake {
    animation: shake 0.5s cubic-bezier(.36, .07, .19, .97) both;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, var(--bg-stop-1) 0%, var(--bg-stop-2) 50%, var(--bg-stop-3) 100%);
    background-attachment: fixed;
    min-height: 100vh;
    width: 100%;
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
    padding-top: env(safe-area-inset-top);
    background-color: var(--white);
    /* Use theme white variable */
}

/* Global Media Reset */
img,
video,
iframe {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 30px;
    position: relative;
    z-index: 1;
}

/* ===== Animated Background Silhouettes ===== */
.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.bg-silhouette {
    position: absolute;
    width: 200px;
    height: auto;
    opacity: 0.15;
    /* Increased base visibility */
    transition: opacity 0.8s ease, filter 0.5s ease;
    animation-duration: 60s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    pointer-events: none;
    border-radius: 0;
    filter: drop-shadow(0 0 40px rgba(147, 197, 253, 0.3)) blur(0.5px);
    /* Lighter glow for better visibility */
}

.bg-silhouette img {
    width: 100%;
    height: auto;
    display: block;
    mix-blend-mode: screen;
    /* White glow silhouette on dark background for clarity and premium feel */
    filter: invert(1) brightness(1.5) contrast(1.1);
}



/* Specific Positions & Animations */
.bg-silhouette.top-left {
    top: -50px;
    left: -50px;
    animation-name: mergeTopLeft;
}

.bg-silhouette.top-right {
    top: -50px;
    right: -50px;
    animation-name: mergeTopRight;
}

.bg-silhouette.bottom-left {
    bottom: -50px;
    left: -50px;
    animation-name: mergeBottomLeft;
}

.bg-silhouette.bottom-right {
    bottom: -50px;
    right: -50px;
    animation-name: mergeBottomRight;
}

.bg-silhouette.middle-left {
    top: 50%;
    left: -50px;
    transform: translateY(-50%);
    animation-name: mergeMiddleLeft;
}

.bg-silhouette.middle-right {
    top: 50%;
    right: -50px;
    transform: translateY(-50%);
    animation-name: mergeMiddleRight;
}

@keyframes mergeTopLeft {

    0%,
    100% {
        transform: translate(0, 0) scale(1) rotate(-5deg);
        opacity: 0.12;
    }

    50% {
        transform: translate(calc(20vw - 50px), calc(20vh - 50px)) scale(1.1) rotate(5deg);
        opacity: 0.28;
    }
}

@keyframes mergeTopRight {

    0%,
    100% {
        transform: translate(0, 0) scale(1) rotate(5deg);
        opacity: 0.12;
    }

    50% {
        transform: translate(calc(-20vw + 50px), calc(20vh - 50px)) scale(1.1) rotate(-5deg);
        opacity: 0.28;
    }
}

@keyframes mergeBottomLeft {

    0%,
    100% {
        transform: translate(0, 0) scale(1) rotate(-3deg);
        opacity: 0.12;
    }

    50% {
        transform: translate(calc(20vw - 50px), calc(-20vh + 50px)) scale(1.1) rotate(3deg);
        opacity: 0.28;
    }
}

@keyframes mergeBottomRight {

    0%,
    100% {
        transform: translate(0, 0) scale(1) rotate(3deg);
        opacity: 0.12;
    }

    50% {
        transform: translate(calc(-20vw + 50px), calc(-20vh + 50px)) scale(1.1) rotate(-3deg);
        opacity: 0.28;
    }
}

@keyframes mergeMiddleLeft {

    0%,
    100% {
        transform: translate(0, -50%) scale(1) rotate(-4deg);
        opacity: 0.12;
    }

    50% {
        transform: translate(calc(20vw - 50px), -50%) scale(1.1) rotate(4deg);
        opacity: 0.28;
    }
}

@keyframes mergeMiddleRight {

    0%,
    100% {
        transform: translate(0, -50%) scale(1) rotate(4deg);
        opacity: 0.12;
    }

    50% {
        transform: translate(calc(-20vw + 50px), -50%) scale(1.1) rotate(-4deg);
        opacity: 0.28;
    }
}

/* ===== Support Section V2 - Interactive Grid ===== */
.support-section-v2 {
    margin-bottom: 20px;
}

.support-grid-v2 {
    display: grid;
    grid-template-columns: 1fr repeat(4, 140px);
    grid-template-rows: auto;
    gap: 20px;
    align-items: stretch;
}

/* Hero Card - Main CTA */
.support-hero-card {
    grid-column: 1 / 2;
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    min-height: 140px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.support-hero-bg {
    position: absolute;
    inset: 0;
    background: var(--glass-strong);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.6s ease;
}

.support-hero-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: 2;
}

.support-hero-card:hover::before {
    transform: translateX(100%);
}

.support-hero-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: var(--shadow-xl);
}

.support-hero-card:hover .support-hero-bg {
    transform: scale(1.1);
}

.support-hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 30px 35px;
    height: 100%;
}

.support-hero-icon {
    width: 70px;
    height: 70px;
    background: var(--glass);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.support-hero-icon svg {
    width: 36px;
    height: 36px;
    color: var(--primary);
}

.support-hero-text {
    flex: 1;
}

.support-hero-text h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 6px 0;
    font-family: 'Outfit', sans-serif;
}

.support-hero-text p {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin: 0;
}

.support-hero-arrow {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.support-hero-arrow svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.support-hero-card:hover .support-hero-arrow {
    background: rgba(255, 255, 255, 0.3);
}

.support-hero-card:hover .support-hero-arrow svg {
    transform: translateX(4px);
}

/* Category Cards */
.support-category-card {
    position: relative;
    background: var(--glass-strong);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-height: 140px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow);
}

.category-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.support-category-card:hover .category-glow {
    opacity: 1;
}

.support-category-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
}

.category-icon {
    width: 50px;
    height: 50px;
    background: var(--glass);
    backdrop-filter: blur(5px);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.category-icon svg {
    width: 26px;
    height: 26px;
    color: var(--primary);
}

.support-category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.3);
}

.category-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
    text-align: center;
    font-family: 'Outfit', sans-serif;
    position: relative;
    z-index: 2;
}

body.dark-mode .support-category-card {
    background: rgba(15, 23, 42, 0.7);
}

/* Dark Mode Specific Refinements for Support Section */
body.dark-mode .support-hero-text h3 {
    color: rgba(255, 255, 255, 0.95);
}

body.dark-mode .support-hero-text p {
    color: rgba(255, 255, 255, 0.6);
}

body.dark-mode .category-label {
    color: rgba(255, 255, 255, 0.8);
}

body.dark-mode .support-hero-icon svg,
body.dark-mode .support-hero-arrow svg,
body.dark-mode .category-icon svg {
    color: #fff;
}


/* Dynamic Quick Cards Wrapper */
.support-quick-cards-wrapper {
    display: contents;
}

/* Responsive */
@media (max-width: 1100px) {
    .support-grid-v2 {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
    }

    .support-hero-card {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .support-grid-v2 {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .support-hero-card {
        grid-column: 1 / -1;
    }

    .support-hero-content {
        padding: 20px;
        gap: 15px;
        flex-wrap: wrap;
    }

    .support-hero-icon {
        width: 50px;
        height: 50px;
    }

    .support-hero-icon svg {
        width: 26px;
        height: 26px;
    }

    .support-hero-text h3 {
        font-size: 1.1rem;
    }

    .support-hero-text p {
        font-size: 0.85rem;
    }

    .support-hero-arrow {
        display: none;
    }

    .support-category-card {
        min-height: 110px;
        padding: 15px 10px;
    }

    .category-icon {
        width: 42px;
        height: 42px;
    }

    .category-icon svg {
        width: 22px;
        height: 22px;
    }

    .category-label {
        font-size: 0.8rem;
    }
}

/* Dark Mode Adjustments */
body.dark-mode .support-hero-bg {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0ea5e9 100%);
}

body.dark-mode .support-hero-text h3,
body.dark-mode .support-hero-text p,
body.dark-mode .category-label {
    color: #fff !important;
}

/* Support Section */
.support-section {
    margin-bottom: 30px;
}

.support-main-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 35px;
    border-radius: var(--radius-xl);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    position: relative;
    overflow: hidden;
}

/* Shine Effect for Support Card */
/* Shine Effect for Support Card */
.support-main-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-25deg);
    animation: shineEffect 4s infinite;
    z-index: 1;
    pointer-events: none;
}

.support-main-card>* {
    position: relative;
    z-index: 2;
}

@keyframes shineEffect {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    /* Fast pass */
    100% {
        left: 200%;
    }

    /* Wait for rest of cycle */
}

.support-main-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.4);
}

.support-main-info h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
    font-family: 'Outfit', sans-serif;
}

.support-main-info p {
    font-size: 1rem;
    opacity: 0.9;
}

.support-main-icon {
    font-size: 3rem;
    opacity: 0.9;
    background: rgba(255, 255, 255, 0.2);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    overflow: hidden;
    padding: 10px;
    background: rgba(255, 255, 255, 0.9);
}

.support-main-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.support-main-icon span {
    font-size: 3rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Support List Modal */
.support-list-container {
    width: 100%;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    padding: 20px 10px;
    width: 100%;
}



.support-item-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-100);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
}

.support-item-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px -15px rgba(37, 99, 235, 0.2);
    background: linear-gradient(to bottom, var(--white), var(--gray-50));
}

.support-item-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.support-item-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.support-item-icon .icon-char {
    font-size: 2.5rem;
}

.support-item-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--dark);
    font-family: 'Outfit', sans-serif;
    margin: 0;
}

/* Animations for Support Items */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.support-item-card {
    animation: fadeInUp 0.5s ease backwards;
}

/* Staggered animation for grid items */
.support-item-card:nth-child(1) {
    animation-delay: 0.1s;
}

.support-item-card:nth-child(2) {
    animation-delay: 0.2s;
}

.support-item-card:nth-child(3) {
    animation-delay: 0.3s;
}

.support-item-card:nth-child(4) {
    animation-delay: 0.4s;
}

.support-item-card:nth-child(5) {
    animation-delay: 0.5s;
}

.support-item-card:nth-child(6) {
    animation-delay: 0.6s;
}

.support-item-card:nth-child(n+7) {
    animation-delay: 0.7s;
}

.support-modal-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
    font-family: 'Outfit', sans-serif;
    margin-bottom: 35px;
    text-align: center;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Support Detail Modal Specifics */
.detail-modal-support {
    max-width: 900px !important;
    width: 95% !important;
}

.support-detail-container {
    padding: 60px 40px;
    max-height: 85vh;
    min-height: 300px;
    overflow-y: auto;
}

.support-detail-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
    margin-bottom: 45px;
    padding-bottom: 35px;
    border-bottom: 1px solid var(--gray-100);
}

.support-detail-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.support-detail-info h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    font-family: 'Outfit', sans-serif;
    margin: 0;
    background: linear-gradient(135deg, var(--dark) 10%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.support-detail-body {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--gray-700);
    max-width: 800px;
    margin: 0 auto;
    word-break: break-word;
    overflow-wrap: break-word;
}

.support-detail-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    margin: 30px 0;
    box-shadow: var(--shadow-lg);
}

.support-detail-body p {
    margin-bottom: 20px;
}

/* Support Detail Modal Content */
.support-detail-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.support-detail-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.support-detail-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.support-detail-icon .icon-char {
    font-size: 3.5rem;
}

.support-detail-info h2 {
    font-size: 2rem;
    color: var(--dark);
    margin: 0;
}

.support-detail-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-700);
}

.support-detail-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 20px 0;
    box-shadow: var(--shadow);
}

/* Admin Support Preview */
.icon-preview {
    width: 100px;
    height: 100px;
    background: var(--gray-100);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px dashed var(--gray-300);
}

.icon-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}


/* ===== Header ===== */
/* ===== Header ===== */
.header {
    background: var(--glass-strong);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    /* Subtle border for light mode */
    position: relative;
    padding-top: env(safe-area-inset-top);
    transition: background 0.4s ease, border-color 0.4s ease;
}

body.dark-mode .header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.sticky-header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1280px;
    z-index: 1000;
    border-radius: var(--radius-xl);
    margin: 0;
    padding: 0;
}

.header::before {
    display: none;
}

.header-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 30px 5px 30px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
}

.header-title-wrapper h1 {
    font-family: 'Outfit', sans-serif;
    margin: 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    line-height: 1.1;
}

.header-title-main {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: #000000;
    /* Pure black in light mode */
    letter-spacing: 1px;
}

.header-title-sub {
    display: block;
    font-size: 0.92rem;
    font-weight: 500;
    color: #000000;
    /* Pure black in light mode */
    letter-spacing: 1px;
    margin-top: -2px;
}

body.dark-mode .header-title-main {
    color: #ffffff;
}

body.dark-mode .header-title-sub {
    color: #A0D3FF;
    /* Lighter shade for dark mode visibility */
}

.header-logo-wrapper {
    background: transparent;
}

.header-logo-wrapper img {
    height: 65px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    background: transparent;
}

/* Header Right Group */
.header-right-group {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-date {
    /* removed margin-left: auto since wrapper handles it */
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
    padding: 8px 16px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.3px;
    transition: var(--transition);
}

.header-date span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===== Landscape Mobile Optimization ===== */
@media (orientation: landscape) and (max-height: 600px) {
    .sticky-header {
        max-height: 52px;
        border-radius: 0;
    }

    .header-content {
        padding: 4px 20px;
        height: 52px;
        justify-content: space-between;
        gap: 10px;
    }

    .header-left-group {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .header-logo-wrapper img {
        height: 38px !important;
    }

    .header-title-wrapper h1 {
        flex-direction: row !important;
        align-items: baseline !important;
        gap: 8px !important;
        line-height: 1 !important;
    }

    .header-title-main {
        font-size: 1rem !important;
        font-weight: 800;
    }

    .header-title-sub {
        font-size: 0.8rem !important;
        font-weight: 400;
        margin-top: 0 !important;
    }

    .header-right-group {
        gap: 8px;
    }

    .header-weather,
    .header-date {
        padding: 4px 12px;
        height: 34px;
        font-size: 0.8rem;
        gap: 5px;
    }

    .header-weather .weather-icon,
    .header-date::before {
        font-size: 1rem;
    }

    .theme-btn {
        width: 34px;
        height: 34px;
        padding: 5px;
    }
}


.header-date::before {
    content: '📅';
    font-size: 1.1rem;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
}

/* Theme button styles moved to end of file for premium UI design */

/* Dark Mode Overrides */
body.dark-mode {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --secondary: #60a5fa;
    --accent: #67e8f9;
    --dark: #f1f5f9;
    /* Light text for dark mode */
    --gray-50: #1e293b;
    /* Dark background */
    --gray-100: #334155;
    --gray-200: #475569;
    --gray-300: #64748b;
    --gray-400: #94a3b8;
    --white: #0f172a;
    /* Very dark background */
    --glass: rgba(15, 23, 42, 0.45);
    /* Dark glass */
    --glass-strong: rgba(15, 23, 42, 0.8);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.3);

    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #172554 100%);
}

body.dark-mode .header-date {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--dark);
}

body.dark-mode .header-date:hover {
    background: rgba(30, 41, 59, 0.9);
}

/* Site Title will follow the responsive var(--dark) for consistent theme switching */

body.dark-mode .announcement-list-item {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border-color: #334155;
}

body.dark-mode .link-box {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .menu-card {
    background: rgba(30, 41, 59, 0.6);
}

body.dark-mode .support-main-card {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--dark);
    box-shadow: var(--shadow-lg);
}

body.dark-mode .support-main-card:hover {
    background: rgba(30, 41, 59, 0.9);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

body.dark-mode .support-main-icon {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .support-main-info h2 {
    color: var(--dark);
}

body.dark-mode .menu-card:hover,
body.dark-mode .link-box:hover {
    background: rgba(30, 41, 59, 0.9);
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6,
body.dark-mode p,
body.dark-mode li,
body.dark-mode span:not(.icon),
body.dark-mode div {
    color: var(--dark);
}

body.dark-mode .announcement-list-item h4 {
    color: var(--dark);
}

body.dark-mode .section-title {
    color: var(--dark);
}

body.dark-mode .splash-text {
    color: #ffffff !important;
}

body.dark-mode #site-title {
    color: var(--dark) !important;
    -webkit-text-fill-color: var(--dark) !important;
}

/* Survey FAB & Modal */
.survey-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: auto;
    padding: 0 25px;
    height: 55px;
    background: linear-gradient(135deg, #ec4899, #f43f5e);
    border-radius: 50px;
    border: none;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(236, 72, 153, 0.4);
    transition: var(--transition);
    z-index: 990;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.survey-fab:hover {
    transform: translateY(-5px) rotate(-10deg);
    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.6);
}

.survey-options-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.survey-option-btn {
    width: 100%;
    padding: 15px;
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    color: var(--dark);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.survey-option-btn:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
    transform: translateX(5px);
}

.survey-option-btn:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none !important;
    border-color: var(--gray-300);
}

.result-item {
    margin-bottom: 15px;
}

.result-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.95rem;
    font-weight: 600;
}

.progress-bar-bg {
    height: 12px;
    background: var(--gray-200);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 6px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-mode .survey-option-btn {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

body.dark-mode .progress-bar-bg {
    background: rgba(255, 255, 255, 0.1);
}

.suggestion-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.suggestion-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.suggestion-modal-overlay .suggestion-card {
    background: var(--white);
    /* Merged Compact Styles */
    padding: 15px 25px 12px 25px;
    border-radius: 20px;
    width: 90%;
    max-width: 420px;
    max-height: 85vh;
    height: auto;
    min-height: 0;
    overflow-y: auto;
    display: block;

    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.95) translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.suggestion-modal-overlay.active .suggestion-card {
    transform: scale(1) translateY(0);
}

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

.suggestion-header h3 {
    margin: 0;
    color: var(--dark);
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
}

.suggestion-header button {
    background: rgba(0, 0, 0, 0.05);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--gray-500);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.suggestion-header button:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--gray-700);
}

/* Dark Mode - Suggestion Modal */
body.dark-mode .suggestion-modal-overlay .suggestion-card {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

body.dark-mode .suggestion-header h3 {
    color: var(--white);
}

body.dark-mode .suggestion-header button {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gray-300);
}

body.dark-mode .suggestion-header button:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

body.dark-mode .form-group label {
    color: var(--gray-200);
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea,
body.dark-mode .form-group select {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .form-group input::placeholder,
body.dark-mode .form-group textarea::placeholder {
    color: var(--gray-400);
}

/* Dark Mode - Suggestion/Survey Modal Specific */
body.dark-mode .suggestion-modal-overlay .suggestion-card .suggestion-header h3,
body.dark-mode .suggestion-modal-overlay .survey-header h3 {
    color: #ffffff !important;
}

body.dark-mode .suggestion-modal-overlay .form-group label {
    color: #ffffff !important;
}

body.dark-mode .suggestion-modal-overlay .form-group input,
body.dark-mode .suggestion-modal-overlay .form-group textarea {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.15);
}

/* ===== Survey Modal Specific Styles ===== */
.survey-question {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.5;
    font-family: 'Outfit', sans-serif;
    padding: 0 15px;
}

.survey-options-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.survey-option-btn {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-left: 4px solid var(--gray-300);
    /* Default accent */
    padding: 16px 20px;
    border-radius: 12px;
    color: var(--dark);
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* For potential icon/check */
    font-family: 'Inter', sans-serif;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.survey-option-btn:hover {
    background: var(--white);
    border-color: var(--primary);
    border-left-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.15);
    /* Indigo shadow */
    transform: translateX(5px);
    /* Slide effect */
}

.survey-option-btn:active {
    transform: translateX(2px) scale(0.99);
}

/* Dark Mode Survey Styles */
body.dark-mode .survey-question {
    color: var(--white);
}

body.dark-mode .survey-option-btn {
    background: rgba(30, 41, 59, 0.6);
    /* Slightly lighter than bg */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid rgba(255, 255, 255, 0.2);
    color: var(--gray-200);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

body.dark-mode .survey-option-btn:hover {
    background: rgba(30, 41, 59, 1);
    border-color: var(--primary);
    border-left-color: var(--primary);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.25);
}

body.dark-mode .suggestion-modal-overlay .form-group input::placeholder,
body.dark-mode .suggestion-modal-overlay .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Survey Question Text */
body.dark-mode .suggestion-modal-overlay .survey-question {
    color: #ffffff !important;
}

body.dark-mode .survey-option-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.15);
}

/* Compact Modal Form Styles - Stacked but Tight */
/* Merged into main definition above */

#suggestion-form {
    display: block;
    margin-bottom: 0;
}

/* ... */

.suggestion-modal-overlay .btn-primary {
    padding: 0;
    margin-top: 5px;
    margin-bottom: 5px;
    /* Altına çok az boşluk */
    font-size: 0.9rem;
    width: 100%;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Survey Option Buttons Compact */
.survey-options-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    /* Butonlar arası boşluk */
    margin-bottom: 5px;
    /* Listenin altındaki boşluk minimum */
}

.survey-option-btn {
    width: 100%;
    padding: 8px 12px;
    text-align: left;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--dark);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.survey-option-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

body.dark-mode .survey-option-btn {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

/* Survey Specific Update */
.survey-question {
    margin-bottom: 8px;
    margin-top: 2px;
    color: var(--dark);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
}

body.dark-mode .survey-question {
    color: #ffffff !important;
}

/* ===== Section Title ===== */
.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.mobile-break {
    display: none;
}

/* Mobile Header Title Spans - hidden on desktop, column layout on mobile */

.section-title::before {
    content: '';
    width: 5px;
    height: 30px;
    background: linear-gradient(180deg, var(--accent), var(--primary));
    border-radius: 3px;
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.5);
}

/* ===== Announcements Section - Two Column Layout ===== */
.announcements-section {
    margin-bottom: 15px;
    padding-top: 65px;
}

.announcements-container {
    display: grid;
    grid-template-columns: 65fr 35fr;
    gap: 25px;
    min-height: 450px;
}

/* Slider Wrapper */
.announcement-slider-wrapper {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    min-width: 0;
}

.announcement-slider {
    position: relative;
    height: 450px;
    overflow: hidden;
}

/* Individual Slide */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1e1b4b;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Sabit baz karartma */
    background-color: rgba(0, 0, 0, 0.30);
    /* Üzerine binen geçişli karartma */
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    z-index: 10;
}

.slide-content {
    position: absolute;
    bottom: 15px;
    /* Adjusted for better visuals */
    left: 0;
    right: 0;
    padding: 30px 30px 45px 30px;
    /* Space for dots */
    color: var(--white);
    z-index: 12;
    /* Above overlay */
}

.slide-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.slide-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.slide-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: 0.95;
    max-width: 90%;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.slide-date {
    margin-top: 15px;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 5px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    z-index: 20;
    /* Highest to ensure controls work */
    pointer-events: none;
    /* Allow clicks to pass through to the slider content below */
}

.slider-btn,
.dot,
.slider-number {
    pointer-events: auto;
    /* Re-enable for buttons, dots and numbers */
}

.slider-btn {
    background: rgba(37, 99, 235, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.slider-btn:hover {
    background: rgba(37, 99, 235, 0.9);
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--white);
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

.dot:hover:not(.active) {
    background: rgba(255, 255, 255, 0.7);
}

/* Sidebar - Announcement List */
.announcement-sidebar {
    background: var(--glass-strong);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    height: 450px;
    min-width: 0;
}

.sidebar-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gray-200);
    flex-shrink: 0;
}

.announcement-list-vertical {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    padding-right: 8px;
    /* Slightly more space for scrollbar */
    max-height: 100%;
}

/* Custom Scrollbar for the list */
.announcement-list-vertical::-webkit-scrollbar {
    width: 6px;
}

.announcement-list-vertical::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.announcement-list-vertical::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.3);
    border-radius: 10px;
}

.announcement-list-vertical::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.5);
}

.announcement-list-item {
    display: flex;
    gap: 12px;
    padding: 15px 12px;
    /* Increased padding slightly */
    background: linear-gradient(145deg, var(--gray-50), var(--gray-100));
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    flex-shrink: 0;
    height: 110px;
    /* Fixed height to ensure 3 items fit exactly in the container */
    align-items: center;
}

.announcement-list-item:hover {
    border-color: var(--primary);
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.list-item-indicator {
    width: 4px;
    border-radius: 2px;
    background: var(--gray-300);
    flex-shrink: 0;
}

.list-item-indicator.new {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

.list-item-content {
    flex: 1;
    min-width: 0;
}

.list-item-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.list-item-content p {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 6px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.list-item-date {
    font-size: 0.75rem;
    color: var(--gray-400);
    font-weight: 500;
}

.empty-list {
    text-align: center;
    color: var(--gray-400);
    padding: 30px;
    font-size: 0.95rem;
}

/* Custom scrollbar for sidebar */
.announcement-list-vertical::-webkit-scrollbar {
    width: 6px;
}

.announcement-list-vertical::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 3px;
}

.announcement-list-vertical::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 3px;
}

.announcement-list-vertical::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}


/* ===== Quick Links Section ===== */
.links-section {
    margin-bottom: 20px;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.link-box {
    background: var(--glass-strong);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: var(--dark);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.link-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--box-color, var(--primary)), color-mix(in srgb, var(--box-color, var(--primary)) 70%, white));
}

.link-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--box-color, var(--primary)), transparent);
    opacity: 0;
    transition: var(--transition);
}

.link-box:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: var(--shadow-xl), 0 0 30px rgba(99, 102, 241, 0.3);
}

.link-box:hover::after {
    opacity: 0.08;
}

.link-box .icon {
    font-size: 2.4rem;
    margin-bottom: 12px;
    display: block;
    line-height: 1;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.link-box.has-emoji .icon {
    margin-bottom: 12px;
    font-size: 2.4rem;
    line-height: 1;
    display: block;
}

.link-box img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    margin: 0 auto 12px auto;
    display: block;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.link-box span {
    font-size: 0.95rem;
    font-weight: 600;
    display: block;
    position: relative;
    z-index: 1;
    color: var(--gray-700);
}

/* ===== Menu Section ===== */
/* ===== Menu Section ===== */
.menu-section {
    margin-bottom: 30px;
}

.menu-container {
    background: var(--glass-strong);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 30px;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

/* Decorative background element for corporate feel */
.menu-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 10px;
}

.menu-day {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 0;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.menu-day:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
    background: var(--white);
}

.menu-day-header {
    background: var(--white);
    padding: 12px 15px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    border-bottom: 2px solid var(--gray-100);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
}

.menu-day:hover .menu-day-header {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Today Card Styles */
.menu-day.today {
    background: rgba(56, 189, 248, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transform: scale(1.03);
    z-index: 2;
    color: var(--dark);
    animation: todayGlow 4s ease-in-out infinite;
}

/* Left accent gradient bar */
.menu-day.today .menu-day-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #38bdf8, #6366f1);
    border-radius: 3px 0 0 3px;
}

@keyframes todayGlow {

    0%,
    100% {
        box-shadow:
            0 8px 32px rgba(0, 0, 0, 0.03),
            inset 0 1px 0 rgba(255, 255, 255, 0.5);
    }

    50% {
        box-shadow:
            0 8px 32px rgba(56, 189, 248, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }
}

.menu-day.today .menu-day-header {
    background: transparent;
    color: var(--dark);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 16px 15px 16px 40px;
}

.menu-day.today::after {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    width: 12px;
    height: 12px;
    background: #fbbf24;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    z-index: 5;
    filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.5));
    animation: starPulse 2.5s ease-in-out infinite;
}

@keyframes starPulse {

    0%,
    100% {
        opacity: 0.7;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.menu-items {
    list-style: none;
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 12px;
}

.menu-items li {
    font-size: 0.95rem;
    color: var(--gray-600);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left;
    justify-content: flex-start;
}

.menu-items li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Bullet points for list items */
.menu-items li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gray-300);
    flex-shrink: 0;
}

.menu-day:hover .menu-items li::before {
    background: var(--primary);
}

.menu-day.today .menu-items li {
    color: var(--gray-700);
    font-weight: 500;
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

.menu-day.today .menu-items li::before {
    background: #38bdf8;
    box-shadow: 0 0 6px rgba(56, 189, 248, 0.4);
}

/* Accordion icon - hidden on desktop */
.accordion-icon {
    display: none;
}

/* Dark Mode Overrides for Today Card */
body.dark-mode .menu-day.today {
    color: var(--white);
}

body.dark-mode .menu-day.today .menu-day-header {
    color: var(--white);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .menu-day.today .menu-items li {
    color: rgba(255, 255, 255, 0.9);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

/* ===== Admin Panel Styles ===== */
.admin-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 30px;
}

/* Login Form */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 30px;
}

.login-box {
    background: var(--glass-strong);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: var(--radius-xl);
    padding: 50px;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.login-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

.login-box h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
}

.login-box p {
    color: var(--gray-500);
    margin-bottom: 35px;
    font-size: 1rem;
}

.form-group {
    margin-bottom: 22px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

.btn {
    padding: 14px 28px;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.btn-success {
    background: linear-gradient(135deg, var(--success) 0%, #16a34a 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
}

.btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.5);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger) 0%, #dc2626 100%);
    color: var(--white);
}

.btn-secondary {
    background: var(--gray-100);
    color: var(--dark);
    border: 2px solid var(--gray-200);
}

.btn-secondary:hover {
    background: var(--gray-200);
}

.btn-block {
    width: 100%;
}

/* Admin Header - Modern Glass Design */
.admin-header {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 24px;
    padding: 20px 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.header-title-box {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-icon-wrapper {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.header-text-wrapper h1 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0;
    font-family: 'Outfit', sans-serif;
}

.user-greeting {
    font-size: 0.85rem;
    color: var(--gray-500);
    display: block;
    margin-top: 2px;
}

.header-actions {
    display: flex;
    gap: 12px;
}

.btn-glass-secondary,
.btn-glass-danger {
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 14px;
    transition: all 0.3s ease;
}

.btn-glass-secondary {
    background: var(--white);
    color: var(--primary);
    border: 1px solid var(--gray-200);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.btn-glass-secondary:hover {
    background: var(--white);
    color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

.btn-glass-danger {
    background: #fee2e2;
    color: var(--danger);
    border: 1px solid #fecaca;
}

.btn-glass-danger:hover {
    background: var(--danger);
    color: var(--white);
    border-color: var(--danger);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.2);
}

/* Session Timer */
.session-timer {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 8px 15px;
    font-family: 'Courier New', Courier, monospace;
    font-weight: 700;
    font-size: 1rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.session-timer.warning {
    background: var(--danger);
    color: white;
    border-color: var(--danger);
    animation: timerPulse 1s infinite;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.5);
}

@keyframes timerPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.btn-icon {
    font-size: 1.1rem;
}

/* Old Admin Styles removed to avoid conflict with latest UI fixes */
.old-admin-cleanup {
    display: none;
}


/* Admin Content */
.admin-content {
    background: var(--glass-strong);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 35px;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Statistics Dashboard */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.stats-card-main {
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
    padding: 30px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stats-card-main:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.stats-icon {
    font-size: 2.5rem;
    width: 70px;
    height: 70px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stats-info h3 {
    font-size: 0.9rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    font-family: 'Outfit', sans-serif;
}

.stats-info p {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
    font-family: 'Outfit', sans-serif;
}

body.dark-mode .stats-card-main {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border-color: var(--gray-700);
}

body.dark-mode .stats-info p {
    color: var(--white);
}



.tab-panel {
    display: none;
}

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

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--gray-200);
}

.panel-header h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
}

/* Item List */
.item-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.item-card {
    background: linear-gradient(145deg, var(--gray-50), var(--gray-100));
    border-radius: var(--radius);
    padding: 22px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.item-card:hover {
    border-color: var(--gray-200);
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.item-info h4 {
    font-size: 1.05rem;
    color: var(--dark);
    margin-bottom: 6px;
    font-weight: 600;
}

.item-info p {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.item-actions {
    display: flex;
    gap: 12px;
}

.btn-sm {
    padding: 10px 18px;
    font-size: 0.9rem;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 30px;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 35px;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    animation: modalSlide 0.3s ease;
}

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

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

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

.modal-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
}

.modal-close {
    background: var(--gray-100);
    border: none;
    font-size: 1.3rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--gray-500);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--danger);
    color: var(--white);
}

/* Menu Editor Grid - ENHANCED DESIGN */
.menu-editor-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}



.menu-editor-day {
    background: linear-gradient(145deg, var(--white), var(--gray-50));
    border-radius: var(--radius-lg);
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-editor-day:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.menu-editor-day:nth-child(1) .menu-editor-day-header {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.menu-editor-day:nth-child(2) .menu-editor-day-header {
    background: linear-gradient(135deg, #ec4899, #f472b6);
}

.menu-editor-day:nth-child(3) .menu-editor-day-header {
    background: linear-gradient(135deg, #14b8a6, #22d3ee);
}

.menu-editor-day:nth-child(4) .menu-editor-day-header {
    background: linear-gradient(135deg, #f97316, #fbbf24);
}

.menu-editor-day:nth-child(5) .menu-editor-day-header {
    background: linear-gradient(135deg, #22c55e, #84cc16);
}

.menu-editor-day-header {
    padding: 15px 20px;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
}

.menu-editor-day-header .day-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
}

.menu-editor-day h4 {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.menu-editor-day-body {
    padding: 20px;
}

.menu-editor-day textarea {
    height: 200px;
    font-size: 0.95rem;
    resize: vertical;
    border-radius: var(--radius);
    border: 2px solid var(--gray-200);
    background: var(--white);
    padding: 15px;
    line-height: 1.8;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.menu-editor-day textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    outline: none;
}

.menu-editor-day textarea::placeholder {
    color: var(--gray-400);
    font-style: italic;
}

/* Alert */
.alert {
    padding: 18px 24px;
    border-radius: var(--radius);
    margin-bottom: 25px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
    border: 2px solid var(--success);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: 2px solid var(--danger);
}

/* Link Editor - FIXED */
.link-editor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.link-editor-item {
    background: linear-gradient(145deg, var(--gray-50), var(--gray-100));
    border-radius: var(--radius);
    padding: 25px;
    border: 2px solid transparent;
    transition: var(--transition);
}

.link-editor-item:hover {
    border-color: var(--gray-200);
}

.link-editor-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.link-editor-item h4::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

.color-picker-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
}

.color-picker-wrapper input[type="color"] {
    width: 55px;
    height: 45px;
    padding: 0;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    cursor: pointer;
    overflow: hidden;
}





/* ===== Empty State ===== */
.empty-state {
    text-align: center;
    padding: 60px 40px;
    color: var(--gray-400);
}

.empty-state .icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 1.1rem;
}



/* Shoulder Rotation Animation V4 - Premium UI Edition */
.shoulder-animation-v4 {
    position: relative;
    width: 180px;
    height: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    perspective: 600px;
}

.character-v4 {
    position: relative;
    width: 120px;
    height: 100px;
    z-index: 2;
    transform-style: preserve-3d;
}

/* Gövde/Beden - Corporate Navy Suit */
.shoulders-v4 {
    width: 70px;
    height: 55px;
    background: linear-gradient(180deg, #1e3a5f 0%, #0d1b2a 100%);
    border-radius: 35px 35px 12px 12px;
    position: absolute;
    bottom: 0;
    left: 25px;
    box-shadow:
        0 8px 20px rgba(30, 58, 95, 0.3),
        inset 0 3px 10px rgba(255, 255, 255, 0.1);
}

/* White collar */
.shoulders-v4::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 12px;
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 4px;
    z-index: 1;
}

/* Tie */
.shoulders-v4::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 30px;
    background: linear-gradient(180deg, #7f1d1d 0%, #991b1b 50%, #7f1d1d 100%);
    border-radius: 2px 2px 3px 3px;
    z-index: 2;
}

/* Omuz eklem noktaları */
.shoulder-unit-l,
.shoulder-unit-r {
    position: absolute;
    width: 28px;
    height: 28px;
    bottom: 45px;
    z-index: 3;
}

.shoulder-unit-l {
    left: 8px;
    animation: shoulderCircleL 5s ease-in-out infinite;
}

.shoulder-unit-r {
    right: 8px;
    animation: shoulderCircleR 5s ease-in-out infinite;
}

/* Omuz topları - Skin Tone */
.shoulder-ball-v4 {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5deb3 0%, #deb887 50%, #c9a86c 100%);
    border-radius: 50%;
    box-shadow:
        0 5px 15px rgba(212, 165, 116, 0.4),
        inset 0 3px 8px rgba(255, 255, 255, 0.35),
        inset 0 -3px 6px rgba(0, 0, 0, 0.1);
}

/* Kollar - Navy Suit Sleeves */
.arm-v4 {
    width: 12px;
    height: 40px;
    background: linear-gradient(180deg, #1e3a5f 0%, #0d1b2a 100%);
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 6px;
    transform-origin: top center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.shoulder-unit-l .arm-v4 {
    animation: armFollowL 5s ease-in-out infinite;
}

.shoulder-unit-r .arm-v4 {
    animation: armFollowR 5s ease-in-out infinite;
}

/* Baş - Skin Tone */
.head-v4 {
    width: 38px;
    height: 45px;
    background: linear-gradient(135deg, #f5deb3 0%, #deb887 50%, #c9a86c 100%);
    border-radius: 19px;
    position: absolute;
    bottom: 55px;
    left: 41px;
    z-index: 4;
    box-shadow:
        0 6px 15px rgba(212, 165, 116, 0.25),
        inset 0 3px 10px rgba(255, 255, 255, 0.3);
    animation: headStable 5s ease-in-out infinite;
}

/* Yüz detayı */
.head-v4::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 5px;
    background: rgba(0, 0, 0, 0.12);
    border-radius: 10px;
}

/* Döndürme rehberleri - ince çizgili daireler */
.rotation-guides {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    opacity: 0.2;
}

.guide-circle {
    position: absolute;
    width: 36px;
    height: 36px;
    border: 2px dashed #818cf8;
    border-radius: 50%;
    bottom: 42px;
}

.guide-circle.l {
    left: 6px;
    animation: guideGlow 5s ease-in-out infinite;
}

.guide-circle.r {
    right: 6px;
    animation: guideGlow 5s ease-in-out infinite 0.1s;
}

/* Zemin gölgesi */
.ground-shadow-v4 {
    width: 80px;
    height: 12px;
    background: rgba(0, 0, 0, 0.12);
    border-radius: 50%;
    filter: blur(5px);
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    animation: shadowPulseV4 5s ease-in-out infinite;
}

/* Sol omuz dairesel hareketi - Yukarı, İleri, Aşağı, Geri */
@keyframes shoulderCircleL {

    0%,
    100% {
        transform: translate(0, 0);
    }

    /* Yukarı */
    12.5% {
        transform: translate(0, -14px);
    }

    /* Yukarı-İleri */
    25% {
        transform: translate(5px, -10px) scale(1.05);
    }

    /* İleri */
    37.5% {
        transform: translate(8px, 0) scale(1.08);
    }

    /* Aşağı-İleri */
    50% {
        transform: translate(5px, 8px) scale(1.05);
    }

    /* Aşağı */
    62.5% {
        transform: translate(0, 10px);
    }

    /* Aşağı-Geri */
    75% {
        transform: translate(-4px, 6px) scale(0.95);
    }

    /* Geri */
    87.5% {
        transform: translate(-5px, 0) scale(0.92);
    }
}

/* Sağ omuz dairesel hareketi */
@keyframes shoulderCircleR {

    0%,
    100% {
        transform: translate(0, 0);
    }

    12.5% {
        transform: translate(0, -14px);
    }

    25% {
        transform: translate(-5px, -10px) scale(1.05);
    }

    37.5% {
        transform: translate(-8px, 0) scale(1.08);
    }

    50% {
        transform: translate(-5px, 8px) scale(1.05);
    }

    62.5% {
        transform: translate(0, 10px);
    }

    75% {
        transform: translate(4px, 6px) scale(0.95);
    }

    87.5% {
        transform: translate(5px, 0) scale(0.92);
    }
}

/* Kolların omuzları takip etmesi */
@keyframes armFollowL {

    0%,
    100% {
        transform: translateX(-50%) rotate(0deg);
    }

    25% {
        transform: translateX(-50%) rotate(10deg);
    }

    50% {
        transform: translateX(-50%) rotate(5deg);
    }

    75% {
        transform: translateX(-50%) rotate(-5deg);
    }
}

@keyframes armFollowR {

    0%,
    100% {
        transform: translateX(-50%) rotate(0deg);
    }

    25% {
        transform: translateX(-50%) rotate(-10deg);
    }

    50% {
        transform: translateX(-50%) rotate(-5deg);
    }

    75% {
        transform: translateX(-50%) rotate(5deg);
    }
}

/* Baş sabit durması */
@keyframes headStable {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-2px);
    }
}

/* Gölge nabız efekti */
@keyframes shadowPulseV4 {

    0%,
    100% {
        transform: translateX(-50%) scale(1);
        opacity: 0.12;
    }

    25% {
        transform: translateX(-50%) scale(1.15);
        opacity: 0.08;
    }

    50% {
        transform: translateX(-50%) scale(1.1);
        opacity: 0.1;
    }

    75% {
        transform: translateX(-50%) scale(0.95);
        opacity: 0.15;
    }
}

/* Rehber daire parıltısı */
@keyframes guideGlow {

    0%,
    100% {
        opacity: 0.2;
        border-color: #818cf8;
    }

    50% {
        opacity: 0.4;
        border-color: #a5b4fc;
    }
}


/* Back Stretch Animation V3 - Realistic Body Movement */
.back-stretch-animation-v3 {
    position: relative;
    width: 140px;
    height: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

/* Gövde - Corporate Navy Suit */
.back-body-v3 {
    width: 55px;
    height: 55px;
    background: linear-gradient(180deg, #1e3a5f 0%, #0d1b2a 100%);
    border-radius: 28px 28px 10px 10px;
    z-index: 1;
    box-shadow:
        0 8px 20px rgba(30, 58, 95, 0.3),
        inset 0 3px 10px rgba(255, 255, 255, 0.1);
    animation: backBodyStretch 6s ease-in-out infinite;
}

/* Collar and Tie for Back Stretch */
.back-body-v3::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 10px;
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 3px;
    z-index: 2;
}

.back-body-v3::after {
    content: '';
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 25px;
    background: linear-gradient(180deg, #7f1d1d 0%, #991b1b 50%, #7f1d1d 100%);
    border-radius: 2px;
    z-index: 3;
}

/* Kollar - Navy Suit Sleeves */
.back-arm-l,
.back-arm-r {
    width: 10px;
    height: 48px;
    background: linear-gradient(180deg, #1e3a5f 0%, #0d1b2a 100%);
    position: absolute;
    bottom: 35px;
    z-index: 3;
    border-radius: 5px;
    transform-origin: bottom center;
}

/* El kısımları - Skin Tone */
.back-arm-l::after,
.back-arm-r::after {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #f5deb3 0%, #deb887 100%);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(212, 165, 116, 0.3);
}

.back-arm-l {
    left: 42px;
    animation: backArmL 6s ease-in-out infinite;
}

.back-arm-r {
    right: 42px;
    animation: backArmR 6s ease-in-out infinite;
}

/* Kollar aşağıda başlar, yukarı kalkar ve birleşir */
@keyframes backArmL {

    0%,
    100% {
        transform: rotate(-60deg) translateY(0);
    }

    35% {
        transform: rotate(8deg) translateY(-30px) scaleY(1.15);
    }

    50% {
        transform: rotate(12deg) translateY(-35px) scaleY(1.18);
        box-shadow: 0 0 20px rgba(79, 70, 229, 0.4);
    }

    65% {
        transform: rotate(8deg) translateY(-30px) scaleY(1.15);
    }
}

@keyframes backArmR {

    0%,
    100% {
        transform: rotate(60deg) translateY(0);
    }

    35% {
        transform: rotate(-8deg) translateY(-30px) scaleY(1.15);
    }

    50% {
        transform: rotate(-12deg) translateY(-35px) scaleY(1.18);
        box-shadow: 0 0 20px rgba(79, 70, 229, 0.4);
    }

    65% {
        transform: rotate(-8deg) translateY(-30px) scaleY(1.15);
    }
}

/* Gövde yukarı uzanır */
@keyframes backBodyStretch {

    0%,
    100% {
        transform: scaleY(1) translateY(0);
    }

    35% {
        transform: scaleY(1.08) translateY(-3px);
    }

    50% {
        transform: scaleY(1.12) translateY(-5px);
        box-shadow:
            0 12px 25px rgba(30, 58, 95, 0.4),
            inset 0 3px 10px rgba(255, 255, 255, 0.15);
    }

    65% {
        transform: scaleY(1.08) translateY(-3px);
    }
}

/* Baş - Skin Tone */
.back-stretch-animation-v3 .head-v2 {
    width: 42px;
    height: 50px;
    background: linear-gradient(145deg, #f5deb3 0%, #deb887 50%, #c9a86c 100%);
    border-radius: 21px;
    position: absolute;
    bottom: 65px;
    z-index: 2;
    box-shadow:
        0 6px 15px rgba(212, 165, 116, 0.25),
        inset 0 3px 10px rgba(255, 255, 255, 0.3);
    animation: backHeadV3 6s ease-in-out infinite;
}

/* Yüz detayı */
.back-stretch-animation-v3 .head-v2::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 5px;
    background: rgba(0, 0, 0, 0.12);
    border-radius: 10px;
}

@keyframes backHeadV3 {

    0%,
    100% {
        transform: translateY(0);
    }

    35% {
        transform: translateY(-8px);
    }

    50% {
        transform: translateY(-12px) rotateX(-10deg);
    }

    65% {
        transform: translateY(-8px);
    }
}


.breathing-circle-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.breathing-circle {
    display: none !important;
    /* Remove suspicious blue circle */
}

/* breathing animation removed */

.breathing-text {
    position: relative;
    font-weight: 700;
    color: var(--dark);
    font-size: 1.1rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    z-index: 2;
}

@keyframes breathing {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    /* Ready / End of Exhale */
    33% {
        transform: scale(2.5);
        opacity: 0.8;
    }

    /* End of Inhale */
    66% {
        transform: scale(2.5);
        opacity: 0.8;
    }

    /* End of Hold */
}

/* ===== Footer ===== */
.footer {
    text-align: center;
    padding: 30px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.footer a:hover {
    color: var(--white);
}

/* Hide element */
.hidden {
    display: none !important;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ===== Announcement Detail Modal ===== */
.detail-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 30px;
    overflow-y: auto;
}

.detail-modal-overlay.active {
    display: flex;
}

.detail-modal {
    background: var(--white);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 1100px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    position: relative;
    animation: modalSlide 0.4s ease;
}

.detail-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: var(--white);
    color: var(--dark);
    border: none;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.detail-modal-close:hover {
    background: var(--danger);
    color: var(--white);
    transform: rotate(90deg);
}

.detail-modal-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
}

.detail-image {
    height: 400px;
    background-size: cover;
    /* Changed to cover for a better look with margins */
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f1f5f9;
    border-radius: 20px;
    margin: 20px 20px 0 20px;
}

.detail-body {
    padding: 35px;
}

.detail-date {
    color: var(--gray-500);
    font-size: 0.95rem;
    font-weight: 500;
    display: block;
    margin-bottom: 15px;
}

.detail-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.detail-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--gray-600);
    white-space: pre-wrap;
}

.detail-sidebar {
    background: var(--gray-50);
    padding: 30px;
    border-left: 1px solid var(--gray-200);
}

.detail-sidebar h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gray-200);
}

.detail-other-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-other-item {
    display: flex;
    gap: 12px;
    padding: 15px;
    background: var(--white);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.detail-other-item:hover {
    border-color: var(--primary);
    transform: translateX(5px);
}

.detail-other-indicator {
    width: 4px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    flex-shrink: 0;
}

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

.detail-other-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 5px;
}

.detail-other-content span {
    font-size: 0.8rem;
    color: var(--gray-400);
}

/* Active announcement in sidebar (currently viewing) */
.detail-other-item.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.1));
    border-color: var(--primary);
    pointer-events: none;
    cursor: default;
}

.detail-other-item.active .detail-other-indicator {
    background: linear-gradient(180deg, var(--primary), var(--accent));
    width: 6px;
}

.detail-other-item.active .detail-other-content h4 {
    color: var(--primary);
}


/* Dark mode support for active item */
body.dark-mode .detail-other-item.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(139, 92, 246, 0.15));
}

/* Slider Read More */
.slide-read-more {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.slide:hover .slide-read-more {
    background: rgba(255, 255, 255, 0.35);
}

/* ===== Image Upload Styles ===== */
.image-upload-container {
    margin-top: 8px;
}

.image-preview {
    width: 100%;
    height: 150px;
    background: var(--gray-100);
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 12px;
}

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

.image-preview-placeholder {
    color: var(--gray-400);
    font-size: 0.95rem;
}

.image-upload-actions {
    display: flex;
    gap: 10px;
}





/* ===== Settings Panel Styles ===== */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
}

.settings-card {
    background: linear-gradient(145deg, var(--gray-50), var(--gray-100));
    border-radius: var(--radius);
    padding: 30px;
    border: 2px solid transparent;
    transition: var(--transition);
}

.settings-card:hover {
    border-color: var(--gray-200);
}

.settings-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.settings-description {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.favicon-preview {
    width: 80px;
    height: 80px;
    background: var(--gray-100);
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 12px;
}

.favicon-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.popup-preview {
    width: 100%;
    height: 200px;
    background: var(--gray-100);
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 12px;
}

.popup-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
    color: var(--dark);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary);
}



/* ===== Popup Modal Styles ===== */
.popup-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    padding: 30px;
}

.popup-modal-overlay.active {
    display: flex;
}

.popup-modal {
    position: relative;
    max-width: 600px;
    max-height: 80vh;
    animation: modalSlide 0.4s ease;
}

.popup-modal img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.popup-modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 45px;
    height: 45px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 10;
}

.popup-modal-close:hover {
    background: var(--danger);
    color: var(--white);
    transform: rotate(90deg);
}

/* ===== Header Settings Styles ===== */
.settings-card-full {
    grid-column: 1 / -1;
}

.header-settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.logo-preview {
    width: 120px;
    height: 60px;
    background: var(--gray-100);
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 12px;
}

.logo-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Link Icon Upload Styles */
.link-icon-upload-container {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    background: var(--gray-50);
    padding: 15px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
}

.link-icon-preview {
    width: 80px;
    height: 80px;
    background: var(--white);
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
    overflow: hidden;
}

.link-icon-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.link-icon-actions {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.icon-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-input-group input {
    width: 60px;
    text-align: center;
}



/* Popup Modal Styles */
.popup-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(8px);
    padding: 20px;
}

.popup-modal-overlay.active {
    display: flex;
    animation: popupFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.popup-modal {
    position: relative;
    max-width: 800px;
    /* Reduced size (was 1250px) */
    width: 95%;
    background: transparent;
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-modal-overlay.active .popup-modal {
    transform: scale(1);
}

.popup-modal img {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-xl);
    object-fit: contain;
    max-height: 75vh;
    /* Reduced size (was 92vh) */
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
}

.popup-modal-close {
    position: absolute;
    top: -50px;
    right: -10px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
    z-index: 10;
}

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

@keyframes popupFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}



/* Utility Class */
.hidden {
    display: none !important;
}

/* ===== Menu Editor Styles ===== */
.menu-editor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.menu-day-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
}

.menu-day-card h3 {
    margin-bottom: 10px;
    color: var(--gray-700);
    font-size: 1rem;
    font-weight: 600;
}

.menu-day-card textarea {
    width: 100%;
    resize: vertical;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    font-size: 0.9rem;
}

/* ===== Suggestions Admin Upgrade ===== */
/* Suggestions Grid Container */
#suggestions-list.item-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}



.suggestion-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.suggestion-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: transparent;
    transition: background 0.3s;
}

.suggestion-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.suggestion-card:hover::before {
    background: var(--primary);
}

.suggestion-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.suggestion-user-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.suggestion-avatar {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.suggestion-name {
    font-weight: 700;
    color: var(--gray-800);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.dept-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    color: var(--gray-600);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
}

.suggestion-date {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-500);
    background: #f8fafc;
    padding: 6px 12px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.suggestion-body {
    color: var(--gray-700);
    line-height: 1.7;
    font-size: 1rem;
    background: #f8fafc;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: 3px solid #e2e8f0;
    flex-grow: 1;
}

.suggestion-footer {
    display: flex;
    justify-content: flex-end;
}

.btn-delete-suggestion.modern-delete {
    background: #fff1f2;
    color: #e11d48;
    border: 1px solid #fecdd3;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-delete-suggestion.modern-delete:hover {
    background: #e11d48;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3);
    transform: scale(1.02);
}

/* Dark Mode Adjustments */
body.dark-mode .suggestion-card {
    background: var(--gray-50);
    border-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .suggestion-body {
    background: rgba(255, 255, 255, 0.03);
    color: var(--dark);
    border-left-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .dept-badge,
body.dark-mode .suggestion-date {
    background: rgba(255, 255, 255, 0.05);
    color: var(--dark);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .suggestion-name {
    color: white;
}

.empty-state-container {
    text-align: center;
    padding: 60px 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 2px dashed #e2e8f0;
}

.empty-state-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.empty-state-container p {
    color: var(--gray-500);
    font-size: 1.1rem;
}

/* ===== Responsive & Mobile Performance Fixes ===== */
/* =========================================
   CONSOLIDATED RESPONSIVE STYLES
   ========================================= */

@media (max-width: 1200px) {
    .links-grid {
        grid-template-columns: repeat(4, 1fr);
    }

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

    .announcements-container {
        grid-template-columns: 65fr 35fr;
    }

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

    #suggestions-list.item-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1100px) {
    .support-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .header-content {
        padding: 8px 20px;
        gap: 15px;
    }

    .header-title-wrapper h1 {
        font-size: 1.25rem;
    }

    .header-logo-wrapper img {
        height: 50px;
    }

    .announcements-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .announcement-slider-wrapper,
    .announcement-sidebar {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }

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

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

    .sticky-header {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        max-width: 100%;
        border-radius: 0 0 var(--radius-xl) var(--radius-xl);
        margin: 0 !important;
        margin-top: 0 !important;
    }

    body {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    .announcements-section {
        padding-top: 25px;
    }
}

@media (max-width: 900px) {
    .detail-modal-overlay {
        padding: 20px;
    }

    .detail-modal {
        max-height: 95vh;
    }

    .detail-modal-content {
        grid-template-columns: 1fr;
    }

    .detail-sidebar {
        border-left: none;
        border-top: 1px solid var(--gray-200);
        max-height: 300px;
    }

    .detail-image {
        height: 220px;
    }

    .detail-title {
        font-size: 1.6rem;
    }

    .detail-body {
        padding: 25px;
    }
}

@media (max-width: 800px) {
    .support-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 15px !important;
        padding-top: 5px !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .admin-container {
        padding: 15px;
    }

    /* ===== MOBILE HEADER - MODERNIZED ===== */
    .header {
        height: 65px;
    }

    .header-content {
        height: 100%;
        display: flex;
        justify-content: space-between;
        padding: 0 16px;
        gap: 12px;
        align-items: center;
        position: relative;
    }

    .header-title-wrapper {
        position: absolute;
        left: 0;
        right: 0;
        padding: 0 70px;
        text-align: center;
        pointer-events: none;
        z-index: 10;
    }

    .header-title-wrapper h1 {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        line-height: 1;
        margin: 0;
        pointer-events: auto;
    }

    .header-title-main {
        display: block !important;
        font-size: 1.3rem;
        font-weight: 800;
        color: #1a365d !important;
        /* Koyu Mavi */
        letter-spacing: 0.5px;
        line-height: 1.15;
        text-shadow: none;
    }

    .header-title-sub {
        display: block !important;
        font-size: 0.95rem;
        font-weight: 600;
        color: #1a365d !important;
        /* Koyu Mavi (Aynı Renk) */
        letter-spacing: 1px;
        line-height: 1.15;
        margin-top: 2px;
    }

    /* Dark Mode Overrides for Mobile */
    body.dark-mode .header-title-main {
        color: #ffffff !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }

    body.dark-mode .header-title-sub {
        color: #A0D3FF !important;
    }

    .header-right-group {
        gap: 8px;
    }

    .header-date,
    .header-weather {
        display: none !important;
    }

    .theme-btn {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
    }

    .announcements-section {
        padding-top: 10px;
        margin-top: 0;
    }

    .section-title {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    /* Hide other announcements sidebar on mobile detail modal */
    .detail-sidebar {
        display: none !important;
    }

    .detail-modal-content {
        grid-template-columns: 1fr;
    }

    .section-title::before {
        height: 25px;
    }

    .links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .menu-day {
        padding: 0;
        text-align: center;
        border: 1px solid var(--gray-200) !important;
        background: var(--glass-strong) !important;
        border-radius: 20px !important;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
        overflow: hidden;
        margin-bottom: 8px;
    }

    .menu-day-header {
        padding: 14px 25px;
        margin: 0;
        border: none;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 12px;
        cursor: pointer;
        font-size: 1.15rem;
        font-weight: 700;
        position: relative;
        color: var(--dark);
        letter-spacing: 0.03em;
    }

    body.dark-mode .menu-day {
        border-color: rgba(255, 255, 255, 0.1) !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }

    .accordion-icon {
        display: block;
        transition: transform 0.4s ease;
        font-size: 0.75rem;
        opacity: 0.5;
        position: absolute;
        right: 22px;
        top: 50%;
        transform: translateY(-50%);
    }

    .menu-day.accordion-open .accordion-icon {
        transform: translateY(-50%) rotate(180deg);
        opacity: 1;
    }

    .menu-items {
        display: none;
        padding: 5px 25px 25px 25px;
        border-top: 1px solid var(--gray-100);
        background: rgba(0, 0, 0, 0.03);
        border-radius: 0 0 20px 20px;
    }

    body.dark-mode .menu-items {
        background: rgba(255, 255, 255, 0.05);
        border-top-color: rgba(255, 255, 255, 0.1);
    }

    .menu-day.accordion-open .menu-items {
        display: block;
        animation: slideDownModern 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .menu-items li {
        padding: 14px 0;
        font-size: 1rem;
        color: var(--gray-700);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        font-weight: 500;
    }

    .menu-items li:last-child {
        border-bottom: none;
    }

    body.dark-mode .menu-items li {
        color: rgba(255, 255, 255, 0.9);
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .menu-day.today {
        background: rgba(56, 189, 248, 0.1) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
        z-index: 5;
    }

    .menu-day.today .menu-day-header {
        padding-left: 25px !important;
        padding-right: 25px !important;
    }

    /* Hide desktop star in mobile to avoid duplication */
    .menu-day.today::after {
        content: none !important;
    }

    .menu-day.today::before {
        content: '';
        position: absolute;
        top: 13px;
        left: 15px;
        width: 14px;
        height: 14px;
        background: #fbbf24;
        clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
        filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.5));
        animation: starPulse 2.5s ease-in-out infinite;
    }

    @keyframes slideDownModern {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }

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

    .announcement-slider {
        height: 260px;
        /* Reduced to be more rectangular */
    }

    .slide-content {
        bottom: 50px;
        padding: 20px 15px;
    }

    .slide-content h2 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .slide-content p {
        font-size: 0.95rem;
        max-width: 100%;
    }

    .announcement-sidebar {
        max-height: 330px !important;
        padding: 15px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .announcement-list-item {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .menu-editor-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .floating-shapes {
        display: none !important;
    }

    /* Admin Panel Mobile */
    .admin-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 20px 15px;
    }

    .header-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .header-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 12px 10px;
        font-size: 0.85rem;
    }

    .session-timer {
        grid-column: span 2;
        text-align: center;
        margin: 0;
        padding: 8px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
    }

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

.admin-tabs {
    justify-content: flex-start;
    padding: 15px 10px;
    gap: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.tab-btn {
    flex: 0 0 auto;
    min-width: 100px;
    padding: 12px 10px;
    border-radius: 12px;
    font-size: 0.85rem;
    scroll-snap-align: start;
}

.item-card {
    flex-direction: column;
    gap: 15px;
    text-align: center;
}

.item-actions {
    width: 100%;
    justify-content: center;
}

.popup-modal-close {
    top: -12px;
    right: -12px;
    background: var(--white);
    color: var(--dark);
    border: none;
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.popup-modal {
    width: fit-content;
    background: transparent;
    border-radius: var(--radius-xl);
}

@media (max-width: 600px) {
    .detail-modal-overlay {
        padding: 10px;
    }

    .detail-modal {
        max-height: 97vh;
    }

    .detail-modal-close {
        top: 10px;
        right: 10px;
        width: 38px;
        height: 38px;
    }

    .detail-image {
        height: 160px;
        margin: 15px 15px 0 15px;
    }

    .detail-body {
        padding: 20px 15px;
    }

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

    .detail-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .detail-date {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }
}

@media (max-width: 500px) {
    .support-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 15px 5px;
    }

    .support-item-card {
        padding: 20px 12px;
        gap: 12px;
    }

    .support-item-icon {
        width: 48px;
        height: 48px;
    }

    .support-item-card h3 {
        font-size: 0.95rem;
    }

    /* Hızlı erişim bağlantılarındaki yazıları büyütüyoruz */
    .link-box span {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .admin-container {
        padding: 10px;
    }

    body:not(.admin-page) {
        padding-top: 20px;
    }

    .header-content {
        gap: 8px;
        padding: 0 16px;
        height: 100%;
    }

    .header-logo-wrapper img {
        height: 48px;
    }

    .header-title-main {
        font-size: 1.1rem;
        letter-spacing: 0.8px;
    }

    .header-title-sub {
        font-size: 0.85rem;
        letter-spacing: 1.2px;
    }

    .theme-btn {
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }

    .slide-content {
        padding: 5px 20px;
        bottom: 40px;
        /* Moved up to clear navigation controls */
    }

    .slide-content h2 {
        font-size: 18px;
        /* Slightly smaller for better mobile fit */
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .announcement-slider {
        height: 280px;
        /* Increased to 240px as requested */
    }

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

    .link-box {
        padding: 20px 15px;
        min-height: 140px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .link-box.has-image img {
        display: block !important;
        width: 56px !important;
        height: 56px !important;
        margin: 0 auto 12px auto !important;
        filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.15));
    }

    .link-box.has-emoji .icon {
        font-size: 2.5rem;
        margin-bottom: 12px;
    }

    .link-box span {
        font-size: 0.9rem;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .menu-editor-grid {
        grid-template-columns: 1fr;
    }

    .settings-grid {
        grid-template-columns: 1fr;
    }

    .settings-card {
        padding: 20px;
    }

    .admin-content {
        padding: 25px 20px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}


/* =========================================
   ADMIN PANEL STYLES (Added for Fix)
   ========================================= */

/* Main Container Layout - Seamless Background */
.admin-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: transparent !important;
    /* Use global body background */
    padding: 20px 40px;
    gap: 0;
    width: 100%;
}

#admin-panel.visible-admin {
    display: flex !important;
}


/* Cleaned up duplicate definition */



/* Integrated Header - Bottom Padding Reduced */
.admin-header {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px 30px 10px 30px;
    /* Reduced bottom padding from 20 to 10 */
    border-radius: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 5px;
    /* Added small margin for fine control */
}


.header-left-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-title-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-icon-wrapper {
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-text-wrapper h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.user-greeting {
    font-size: 0.9rem;
    opacity: 0.9;
    color: var(--gray-100);
}

/* Header Date & Weather Shared Style */
.header-date,
.header-weather {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    /* Pill shape */
    background: rgba(15, 23, 42, 0.6);
    /* Dark slate semi-transparent */
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    /* Always white text */
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 40px;
    /* Fixed height for alignment */
}

/* Hover effects */
.header-date:hover,
.header-weather:hover {
    background: rgba(15, 23, 42, 0.8);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.weather-icon {
    font-size: 1.25rem;
    line-height: 1;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.2));
}

.weather-temp {
    font-weight: 700;
    color: #ffffff;
    /* Force white */
    font-family: 'Outfit', sans-serif;
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 12px;
}

.btn-glass-secondary,
.btn-glass-danger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-glass-secondary {
    background: rgba(255, 255, 255, 0.9);
    /* Solid white feel */
    color: var(--primary);
    /* Blue text on white for sharpness */
    font-weight: 700;
    border-color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-glass-secondary:hover {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.btn-glass-danger {
    background: #ef4444;
    /* Sharp Red (Tailwind Red 500) */
    color: white;
    font-weight: 700;
    border-color: #f87171;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-glass-danger:hover {
    background: #dc2626;
    /* Darker Red */
    border-color: #ef4444;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(239, 68, 68, 0.4);
}

/* Tabs Navigation - Maximum Proximity */
.admin-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 5px 30px;
    /* Minimal vertical padding */
    overflow-x: auto;
    scrollbar-width: none;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

.admin-tabs::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.7);
    /* Translucent white */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 12px 20px;
    border-radius: 16px;
    /* Pill shape */
    color: #1e293b;
    /* Dark Slate / Black text */
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    min-width: 110px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.tab-btn .tab-icon {
    font-size: 1.4rem;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.15);
}

.tab-btn.active {
    background: var(--white);
    color: var(--primary);
    /* Keep primary color for active text */
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 15px 20px -5px rgba(0, 0, 0, 0.2);
}

/* Main Content Area - Full Width Card */
.admin-content {
    flex: 1;
    width: 100%;
    /* Max-width removed */
    background: var(--white);
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
    min-height: 500px;
    position: relative;
    color: var(--dark);
}

/* Content Sections */
.content-section {
    display: none;
    animation: fadeIn 0.3s ease;
}

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


/* Wrist Animation (Bilek Rahatlatma) - Gerçekçi El ve Bilek */
.wrist-animation {
    width: 120px;
    height: 110px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Ön kol - Navy Suit Sleeve */
.wrist-circle {
    width: 22px;
    height: 50px;
    background: linear-gradient(180deg, #1e3a5f 0%, #0d1b2a 100%);
    border-radius: 8px 8px 10px 10px;
    position: absolute;
    bottom: 0;
    box-shadow:
        0 5px 15px rgba(30, 58, 95, 0.25),
        inset 0 2px 8px rgba(255, 255, 255, 0.1);
    border: none;
}

/* White shirt cuff */
.wrist-circle::after {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 6px;
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 2px;
}

/* El avuç içi - Skin Tone */
.wrist-hand {
    width: 40px;
    height: 42px;
    background: linear-gradient(145deg, #f5deb3 0%, #deb887 50%, #c9a86c 100%);
    border-radius: 12px 12px 18px 18px;
    position: absolute;
    bottom: 42px;
    box-shadow:
        0 6px 15px rgba(212, 165, 116, 0.3),
        inset 0 3px 10px rgba(255, 255, 255, 0.3);
    transform-origin: bottom center;
    animation: wristRotation 5s ease-in-out infinite;
}

/* Parmaklar - Skin Tone */
.wrist-hand::before {
    content: '';
    position: absolute;
    top: -18px;
    left: 4px;
    width: 32px;
    height: 22px;
    background: linear-gradient(145deg, #f5deb3 0%, #deb887 100%);
    border-radius: 6px 6px 3px 3px;
    box-shadow:
        inset 0 -2px 5px rgba(0, 0, 0, 0.08),
        inset 0 2px 5px rgba(255, 255, 255, 0.3);
}

/* Başparmak - Skin Tone */
.wrist-hand::after {
    content: '';
    position: absolute;
    top: 8px;
    left: -8px;
    width: 12px;
    height: 16px;
    background: linear-gradient(145deg, #f5deb3 0%, #deb887 100%);
    border-radius: 6px;
    transform: rotate(-20deg);
    box-shadow: 0 2px 8px rgba(212, 165, 116, 0.2);
}

/* Ok işareti - Dönüş yönü göstergesi - Corporate Navy */
.wrist-arrow {
    position: absolute;
    width: 70px;
    height: 70px;
    bottom: 30px;
    border: 2px dashed rgba(30, 58, 95, 0.25);
    border-radius: 50%;
    animation: arrowGuide 5s linear infinite;
}

.wrist-arrow::before {
    content: '↻';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
    color: #475569;
    animation: arrowPulse 5s ease-in-out infinite;
}

/* Bilek dönüş animasyonu - Dışa ve içe 10 kez döndürme simülasyonu */
@keyframes wristRotation {

    0%,
    100% {
        transform: rotate(0deg);
    }

    /* Sağa dönüş (dışa) */
    10% {
        transform: rotate(25deg) translateX(3px);
    }

    20% {
        transform: rotate(0deg);
    }

    /* Sola dönüş (içe) */
    30% {
        transform: rotate(-25deg) translateX(-3px);
    }

    40% {
        transform: rotate(0deg);
    }

    /* Sağa dönüş */
    50% {
        transform: rotate(25deg) translateX(3px);
    }

    60% {
        transform: rotate(0deg);
    }

    /* Sola dönüş */
    70% {
        transform: rotate(-25deg) translateX(-3px);
    }

    80% {
        transform: rotate(0deg);
    }

    /* Silkeleme efekti */
    85% {
        transform: rotate(8deg);
    }

    87% {
        transform: rotate(-8deg);
    }

    89% {
        transform: rotate(5deg);
    }

    91% {
        transform: rotate(-5deg);
    }

    93% {
        transform: rotate(3deg);
    }

    95% {
        transform: rotate(-3deg);
    }

    97% {
        transform: rotate(0deg);
    }
}

@keyframes arrowGuide {
    0% {
        transform: rotate(0deg);
        opacity: 0.3;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        transform: rotate(360deg);
        opacity: 0.3;
    }
}

@keyframes arrowPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: translateX(-50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.2);
    }
}


/* Side Stretch Animation (Yan Esneme) - Gerçekçi İnsan Figürü */
.side-stretch-animation {
    width: 140px;
    height: 120px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

/* Bacaklar - Dark Gray Pants */
.side-stretch-animation::before {
    content: '';
    position: absolute;
    bottom: 0;
    width: 28px;
    height: 30px;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border-radius: 6px 6px 0 0;
    z-index: 0;
}

/* Gövde - Corporate Navy Suit */
.stretch-body {
    width: 30px;
    height: 50px;
    background: linear-gradient(180deg, #1e3a5f 0%, #0d1b2a 100%);
    border-radius: 15px 15px 8px 8px;
    transform-origin: bottom center;
    animation: sideBodyLean 6s ease-in-out infinite;
    position: relative;
    z-index: 1;
    box-shadow:
        0 5px 15px rgba(30, 58, 95, 0.25),
        inset 0 3px 10px rgba(255, 255, 255, 0.1);
}

/* Baş - Skin Tone */
.stretch-body::before {
    content: '';
    position: absolute;
    top: -32px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 34px;
    background: linear-gradient(145deg, #f5deb3 0%, #deb887 50%, #c9a86c 100%);
    border-radius: 14px;
    box-shadow:
        0 4px 12px rgba(212, 165, 116, 0.25),
        inset 0 2px 8px rgba(255, 255, 255, 0.3);
}

/* Yüz detayı */
.stretch-body::after {
    content: '';
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 4px;
    background: rgba(0, 0, 0, 0.12);
    border-radius: 8px;
}

/* Kollar - Navy Suit Sleeve */
.stretch-arm {
    width: 10px;
    height: 40px;
    background: linear-gradient(180deg, #1e3a5f 0%, #0d1b2a 100%);
    position: absolute;
    bottom: 48px;
    transform-origin: bottom center;
    border-radius: 5px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(30, 58, 95, 0.2);
}

/* Sol kol */
.stretch-arm-l {
    left: calc(50% - 12px);
    animation: sideArmStretchL 6s ease-in-out infinite;
}

/* Sağ kol */
.stretch-arm-r {
    left: calc(50% + 2px);
    animation: sideArmStretchR 6s ease-in-out infinite;
}

/* El - Skin Tone */
.stretch-arm::after {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #f5deb3 0%, #deb887 100%);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(212, 165, 116, 0.3);
}

/* Gövde sağa ve sola eğilir */
@keyframes sideBodyLean {

    0%,
    100% {
        transform: rotate(0deg);
    }

    /* Sağa hazırlık */
    10% {
        transform: rotate(0deg);
    }

    /* Sağa eğilme */
    20% {
        transform: rotate(-18deg) translateX(-5px);
    }

    30% {
        transform: rotate(-18deg) translateX(-5px);
    }

    /* Merkez */
    40% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(0deg);
    }

    /* Sola hazırlık */
    60% {
        transform: rotate(0deg);
    }

    /* Sola eğilme */
    70% {
        transform: rotate(18deg) translateX(5px);
    }

    80% {
        transform: rotate(18deg) translateX(5px);
    }

    /* Merkez */
    90% {
        transform: rotate(0deg);
    }
}

/* Sol kol animasyonu - sağa eğilirken yukarı kalkar */
@keyframes sideArmStretchL {

    0%,
    100% {
        transform: rotate(-45deg);
        opacity: 0.6;
    }

    /* Sağa eğilirken sol kol yukarı */
    15% {
        transform: rotate(30deg);
        opacity: 1;
    }

    25% {
        transform: rotate(70deg) scaleY(1.1);
        opacity: 1;
    }

    35% {
        transform: rotate(70deg) scaleY(1.1);
        opacity: 1;
    }

    45% {
        transform: rotate(-45deg);
        opacity: 0.6;
    }

    /* Sola eğilirken sol kol aşağıda kalır */
    55%,
    85% {
        transform: rotate(-45deg);
        opacity: 0.6;
    }
}

/* Sağ kol animasyonu - sola eğilirken yukarı kalkar */
@keyframes sideArmStretchR {

    0%,
    100% {
        transform: rotate(45deg);
        opacity: 0.6;
    }

    /* Sağa eğilirken sağ kol aşağıda */
    15%,
    45% {
        transform: rotate(45deg);
        opacity: 0.6;
    }

    /* Sola eğilirken sağ kol yukarı */
    55% {
        transform: rotate(-30deg);
        opacity: 1;
    }

    65% {
        transform: rotate(-70deg) scaleY(1.1);
        opacity: 1;
    }

    75% {
        transform: rotate(-70deg) scaleY(1.1);
        opacity: 1;
    }

    85% {
        transform: rotate(45deg);
        opacity: 0.6;
    }
}

/* ===== Wrist Relief Animation V2 - Corporate Two-Hand Design ===== */
.wrist-animation-v2 {
    width: 160px;
    height: 110px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

/* Ön kollar - Navy Suit Sleeves */
.wrist-forearm-l,
.wrist-forearm-r {
    width: 18px;
    height: 45px;
    background: linear-gradient(180deg, #1e3a5f 0%, #0d1b2a 100%);
    border-radius: 6px 6px 8px 8px;
    position: absolute;
    bottom: 0;
    box-shadow:
        0 4px 12px rgba(30, 58, 95, 0.25),
        inset 0 2px 6px rgba(255, 255, 255, 0.1);
}

.wrist-forearm-l {
    left: 35px;
    transform: rotate(8deg);
}

.wrist-forearm-r {
    right: 35px;
    transform: rotate(-8deg);
}

/* Beyaz manşetler */
.wrist-forearm-l::after,
.wrist-forearm-r::after {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 5px;
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 2px;
}

/* Eller - Skin Tone */
.wrist-hand-l,
.wrist-hand-r {
    width: 32px;
    height: 36px;
    background: linear-gradient(145deg, #f5deb3 0%, #deb887 50%, #c9a86c 100%);
    border-radius: 10px 10px 14px 14px;
    position: absolute;
    bottom: 40px;
    box-shadow:
        0 5px 12px rgba(212, 165, 116, 0.3),
        inset 0 2px 8px rgba(255, 255, 255, 0.3);
    transform-origin: bottom center;
}

.wrist-hand-l {
    left: 32px;
    animation: wristRotateL 4s ease-in-out infinite;
}

.wrist-hand-r {
    right: 32px;
    animation: wristRotateR 4s ease-in-out infinite;
}

/* Parmaklar */
.wrist-hand-l::before,
.wrist-hand-r::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 18px;
    background: linear-gradient(145deg, #f5deb3 0%, #deb887 100%);
    border-radius: 5px 5px 2px 2px;
    box-shadow: inset 0 -2px 4px rgba(0, 0, 0, 0.06);
}

/* Sol el dönüş animasyonu */
@keyframes wristRotateL {

    0%,
    100% {
        transform: rotate(0deg);
    }

    15% {
        transform: rotate(20deg) translateX(2px);
    }

    30% {
        transform: rotate(-20deg) translateX(-2px);
    }

    45% {
        transform: rotate(15deg) translateX(1px);
    }

    60% {
        transform: rotate(-15deg) translateX(-1px);
    }

    /* Silkeleme */
    70% {
        transform: rotate(8deg);
    }

    75% {
        transform: rotate(-8deg);
    }

    80% {
        transform: rotate(5deg);
    }

    85% {
        transform: rotate(-5deg);
    }

    90% {
        transform: rotate(0deg);
    }
}

/* Sağ el dönüş animasyonu - hafif gecikme ile */
@keyframes wristRotateR {

    0%,
    100% {
        transform: rotate(0deg);
    }

    15% {
        transform: rotate(-20deg) translateX(-2px);
    }

    30% {
        transform: rotate(20deg) translateX(2px);
    }

    45% {
        transform: rotate(-15deg) translateX(-1px);
    }

    60% {
        transform: rotate(15deg) translateX(1px);
    }

    /* Silkeleme */
    70% {
        transform: rotate(-8deg);
    }

    75% {
        transform: rotate(8deg);
    }

    80% {
        transform: rotate(-5deg);
    }

    85% {
        transform: rotate(5deg);
    }

    90% {
        transform: rotate(0deg);
    }
}





/* =========================================
   MODERN LOG STYLES
   ========================================= */
.logs-modern-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    max-height: 800px;
    overflow-y: auto;
    padding-right: 5px;
}

.log-item {
    background: var(--white);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--gray-100);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideInUp 0.3s ease-out;
}

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

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

.log-item:hover {
    transform: translateX(5px);
    border-color: var(--primary);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.log-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.log-details {
    flex: 1;
}

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

.log-action {
    font-weight: 700;
    color: var(--dark);
    font-size: 1rem;
    letter-spacing: -0.01em;
}

.log-time {
    font-size: 0.8rem;
    color: var(--gray-400);
    font-family: 'JetBrains Mono', monospace;
    background: var(--gray-50);
    padding: 2px 8px;
    border-radius: 6px;
}

.log-msg {
    color: var(--gray-500);
    font-size: 0.9rem;
    line-height: 1.5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.log-user-badge {
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

/* Action Specific Colors & Icons */
.log-item.login .log-icon-wrapper {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.log-item.logout .log-icon-wrapper {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.log-item.update .log-icon-wrapper {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.log-item.delete .log-icon-wrapper {
    background: rgba(239, 68, 68, 0.2);
    color: #dc2626;
}

.log-item.create .log-icon-wrapper {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
}

.log-item.system .log-icon-wrapper {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

/* Dark Mode Overrides for Logs */
body.dark-mode .log-item {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .log-action {
    color: var(--white);
}

body.dark-mode .log-msg {
    color: var(--gray-300);
}

body.dark-mode .log-time {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gray-400);
}

body.dark-mode .log-user-badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gray-200);
    border-color: rgba(255, 255, 255, 0.05);
}

/* ===== Corporate Footer ===== */
.corporate-footer {
    position: relative;
    margin-top: 30px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.8) 100%);
    color: #e2e8f0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 30px 30px 0 0;
    overflow: hidden;
}

.footer-wave {
    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    height: 60px;
    overflow: hidden;
    color: #0f172a;
}

.footer-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 50px 30px 20px;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Brand */
.footer-brand {
    max-width: 350px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* No background, border or shadow - plain logo */
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
}

.footer-logo-text strong {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
}

.footer-logo-text span {
    font-size: 0.85rem;
    color: #94a3b8;
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #94a3b8;
}

.footer-link-moved {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-link-moved:hover {
    color: var(--primary);
    padding-left: 5px;
}

/* Footer Links & Contact */
.footer-links h4,
.footer-contact h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: #94a3b8;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    color: var(--primary);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    font-size: 0.85rem;
}

.footer-bottom p {
    color: #64748b;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-wave {
        top: -30px;
        height: 30px;
    }

    .footer-content {
        padding: 30px 20px 15px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-brand {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-link-moved {
        justify-content: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-links h4::after,
    .footer-contact h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links a {
        justify-content: center;
    }

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

/* Dark Mode Footer Adjustments */
body.dark-mode .corporate-footer {
    background: linear-gradient(135deg, rgba(2, 6, 23, 0.8) 0%, rgba(15, 23, 42, 0.8) 100%);
}

/* ===== Anchor Link Scroll Offset ===== */
/* Prevents sticky header from covering content when using anchor links */
.menu-section {
    scroll-margin-top: 100px;
}

/* ===== Modern Admin Announcement Cards ===== */
.announcement-admin-card {
    display: flex;
    gap: 20px;
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.announcement-admin-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.announcement-admin-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.2);
}

.announcement-admin-card:hover::before {
    opacity: 1;
}

.announcement-admin-card.newest {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03) 0%, rgba(168, 85, 247, 0.03) 100%);
    border-color: rgba(99, 102, 241, 0.15);
}

.announcement-admin-card.newest::before {
    opacity: 1;
}

/* Image Section */
.announcement-admin-image {
    position: relative;
    flex-shrink: 0;
    width: 120px;
    height: 90px;
    border-radius: 12px;
    overflow: hidden;
}

.announcement-admin-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.announcement-admin-card:hover .announcement-admin-image img {
    transform: scale(1.05);
}

.announcement-admin-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.announcement-admin-placeholder span {
    font-size: 2rem;
    filter: brightness(1.2);
}

.announcement-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.4);
}

/* Content Section */
.announcement-admin-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.announcement-admin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 8px;
}

.announcement-admin-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.4;
    flex: 1;
}

.announcement-admin-date {
    flex-shrink: 0;
    font-size: 0.75rem;
    color: #64748b;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

.announcement-admin-desc {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 12px 0;
}

/* Action Buttons */
.announcement-admin-actions {
    display: flex;
    gap: 10px;
}

.btn-admin-edit,
.btn-admin-delete {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-admin-edit {
    background: #f1f5f9;
    color: #475569;
}

.btn-admin-edit:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.btn-admin-delete {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.btn-admin-delete:hover {
    background: #dc2626;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .announcement-admin-card {
        flex-direction: column;
        padding: 16px;
    }

    .announcement-admin-image {
        width: 100%;
        height: 140px;
    }

    .announcement-admin-header {
        flex-direction: column;
        gap: 8px;
    }

    .announcement-admin-actions {
        flex-wrap: wrap;
    }
}

/* Mobile Header Spacing Correction */
@media (max-width: 768px) {
    .header-content {
        padding-top: 15px !important;
        padding-bottom: 15px !important;
        align-items: center;
    }

    .header-logo-wrapper {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* Bring Announcements title closer to header */
    .container {
        padding-top: 2px !important;
    }

    .announcements-section .section-title {
        margin-top: 0px !important;
    }
}

/* ===== Clean Modern Theme Toggle ===== */
.theme-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.theme-btn:hover {
    background: rgba(15, 23, 42, 0.95);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Hide lamp cable element */
.theme-btn .lamp-cable {
    display: none;
}

.theme-btn svg {
    width: 26px;
    height: 26px;
    stroke: #fbbf24;
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.5));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.theme-btn:hover {
    transform: translateY(-2px) scale(1.02);
    border-color: rgba(251, 191, 36, 0.3);
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(251, 191, 36, 0.15),
        0 0 0 1px rgba(251, 191, 36, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.theme-btn:hover svg {
    transform: rotate(20deg) scale(1.1);
    filter: drop-shadow(0 0 12px rgba(251, 191, 36, 0.7));
}

.theme-btn:active {
    transform: translateY(0) scale(0.98);
}

/* Dark mode styles - Blue moon theme */
body.dark-mode .theme-btn {
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.2), rgba(30, 58, 138, 0.3));
    border-color: rgba(96, 165, 250, 0.25);
    box-shadow:
        0 4px 20px rgba(59, 130, 246, 0.2),
        0 0 0 1px rgba(96, 165, 250, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

body.dark-mode .theme-btn::before {
    background: radial-gradient(circle at 70% 30%, rgba(96, 165, 250, 0.2), transparent 60%);
}

body.dark-mode .theme-btn svg {
    stroke: #60a5fa;
    filter: drop-shadow(0 0 8px rgba(96, 165, 250, 0.5));
}

body.dark-mode .theme-btn:hover {
    border-color: rgba(96, 165, 250, 0.4);
    box-shadow:
        0 8px 30px rgba(59, 130, 246, 0.25),
        0 0 25px rgba(96, 165, 250, 0.2),
        0 0 0 1px rgba(96, 165, 250, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

body.dark-mode .theme-btn:hover svg {
    filter: drop-shadow(0 0 12px rgba(96, 165, 250, 0.8));
}

/* ===== Tooltip Styles ===== */
.theme-btn[data-tooltip] {
    position: relative;
}

.theme-btn[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 50%;
    right: 120%;
    /* Position to the left */
    left: auto;
    /* Reset left */
    transform: translateY(-50%) translateX(-10px);
    /* Start slightly offset */
    background: rgba(15, 23, 42, 0.95);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    z-index: 1000;
    /* Increased z-index */
    font-family: 'Inter', sans-serif;
}

.theme-btn[data-tooltip]:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* Tooltip Arrow */
.theme-btn[data-tooltip]::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 105%;
    /* Position to the left */
    left: auto;
    transform: translateY(-50%) translateX(-10px);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent rgba(15, 23, 42, 0.95);
    /* Arrow pointing right */
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 1000;
}

.theme-btn[data-tooltip]:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* Light Mode Tooltip Adjustment */
body:not(.dark-mode) .theme-btn[data-tooltip]::after {
    background: rgba(255, 255, 255, 0.95);
    color: var(--dark);
    border-color: var(--gray-200);
}

body:not(.dark-mode) .theme-btn[data-tooltip]::before {
    border-color: transparent transparent transparent rgba(255, 255, 255, 0.95);
}

@media (max-width: 768px) {

    .theme-btn[data-tooltip]::after,
    .theme-btn[data-tooltip]::before {
        display: none !important;
    }
}

/* Content Links in Announcements */
.content-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid rgba(99, 102, 241, 0.3);
    transition: all 0.2s;
}

.content-link:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
    border-radius: 4px;
}

body.dark-mode .content-link {
    color: var(--accent);
    border-bottom-color: rgba(34, 211, 238, 0.3);
}

body.dark-mode .content-link:hover {
    color: #fff;
    border-bottom-color: var(--accent);
    background: rgba(34, 211, 238, 0.15);
}

/* ===== Slider Number Indicators ===== */
.slider-dots {
    display: flex;
    gap: 8px;
    align-items: center;
    background: rgba(0, 0, 0, 0.45);
    padding: 6px 12px;
    border-radius: 20px;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slider-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Outfit', sans-serif;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.slider-number:hover {
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.4), rgba(29, 78, 216, 0.3));
    border-color: rgba(37, 99, 235, 0.6);
    color: white;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.slider-number.active {
    background: linear-gradient(145deg, #2563eb, #1d4ed8);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
    font-weight: 700;
    transform: scale(1.15);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.6), 0 0 40px rgba(37, 99, 235, 0.3);
}

/* Arms extended forward */
.wrist-arm-wrapper {
    position: relative;
    width: 44px;
    height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wrist-arm-wrapper.left {
    transform: rotate(10deg);
}

.wrist-arm-wrapper.right {
    transform: rotate(-10deg);
}

/* Suit Sleeve */
.wrist-sleeve {
    width: 40px;
    height: 60px;
    background: linear-gradient(90deg, #1e3a5f 0%, #334e78 50%, #1e3a5f 100%);
    border-radius: 8px 8px 0 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* Shirt Cuff */
.wrist-cuff {
    width: 36px;
    height: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    margin-top: -4px;
    position: relative;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Hand */
.wrist-hand {
    width: 34px;
    height: 40px;
    background: #eebb99;
    /* Skin tone */
    border-radius: 12px 12px 16px 16px;
    position: relative;
    margin-top: -2px;
    z-index: 1;
    transform-origin: top center;
    /* Rotate from wrist */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.wrist-arm-wrapper.left .wrist-hand {
    animation: wristCircleLeft 4s ease-in-out infinite;
}

.wrist-arm-wrapper.right .wrist-hand {
    animation: wristCircleRight 4s ease-in-out infinite;
}

/* Fingers detail to show hand orientation */
.wrist-fingers {
    position: absolute;
    bottom: 0;
    left: 4px;
    right: 4px;
    height: 18px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 1px;
}

.wrist-finger {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0 0 4px 4px;
}

/* Thumb */
.wrist-thumb {
    position: absolute;
    top: 10px;
    width: 8px;
    height: 16px;
    background: #eebb99;
    background: linear-gradient(90deg, #eebb99, #eebb99);
    border-radius: 4px;
    z-index: 0;
}

.wrist-arm-wrapper.left .wrist-thumb {
    right: -4px;
    transform: rotate(20deg);
}

.wrist-arm-wrapper.right .wrist-thumb {
    left: -4px;
    transform: rotate(-20deg);
}

@keyframes wristCircleLeft {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-30deg);
    }

    50% {
        transform: rotate(0deg);
    }

    75% {
        transform: rotate(30deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@keyframes wristCircleRight {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(30deg);
    }

    50% {
        transform: rotate(0deg);
    }

    75% {
        transform: rotate(-30deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

/* ===== Wrist Relief SVG Animation ===== */
.wrist-hand-left {
    animation: wristSvgRotate 4s ease-in-out infinite;
    /* Important for SVG transform origin behavior: default (view-box) works best with absolute px origin */
}

.wrist-hand-right {
    animation: wristSvgRotateReverse 4s ease-in-out infinite;
}

.wrist-arm-group-left {
    transform: rotate(5deg);
}

.wrist-arm-group-right {
    transform: rotate(-5deg);
}

@keyframes wristSvgRotate {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-35deg);
    }

    50% {
        transform: rotate(0deg);
    }

    75% {
        transform: rotate(35deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@keyframes wristSvgRotateReverse {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(35deg);
    }

    50% {
        transform: rotate(0deg);
    }

    75% {
        transform: rotate(-35deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

/* ===== Announcement Detail Modal Fix ===== */
.detail-body {
    max-height: 400px;
    /* Limit height to trigger scroll */
    overflow-y: auto;
    /* Enable vertical scrolling */
    padding-right: 10px;
    /* Space for scrollbar */
}

/* Custom Scrollbar for Modal Text */
.detail-body::-webkit-scrollbar {
    width: 6px;
}

.detail-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 3px;
}

.detail-body::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

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

/* Ensure modal content fits on smaller screens */
@media (max-height: 800px) {
    .detail-body {
        max-height: 300px;
    }
}

/* ===== Modern Daily Stats Section ===== */
.daily-stats-section {
    margin-top: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    border-radius: 24px;
    padding: 0;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 10px 15px -3px rgba(0, 0, 0, 0.08),
        0 20px 25px -5px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.8);
    overflow: hidden;
    position: relative;
}

.daily-stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #a855f7, #ec4899);
    background-size: 300% 100%;
    animation: gradientSlide 4s ease infinite;
}

@keyframes gradientSlide {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Section Header */
.daily-stats-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.daily-stats-title-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.daily-stats-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px -4px rgba(99, 102, 241, 0.4);
    transition: all 0.3s ease;
}

.daily-stats-icon:hover {
    transform: scale(1.05) rotate(-3deg);
}

.daily-stats-icon svg {
    color: white;
    width: 26px;
    height: 26px;
}

.daily-stats-title-text h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gray-700);
    margin: 0 0 4px 0;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.3px;
}

.daily-stats-title-text p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin: 0;
}

/* Export Button */
.btn-export {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px -2px rgba(16, 185, 129, 0.4);
}

.btn-export:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(16, 185, 129, 0.5);
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

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

.btn-export svg {
    transition: transform 0.3s ease;
}

.btn-export:hover svg {
    transform: translateY(2px);
}

/* Filters Container */
.daily-stats-filters {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: rgba(255, 255, 255, 0.5);
}

/* Filter Card */
.filter-card {
    background: white;
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.filter-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.filter-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.95rem;
}

.filter-icon {
    font-size: 1.2rem;
}

/* Date Inputs Row */
.date-inputs-row {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    flex-wrap: wrap;
}

.date-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.date-input-group label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modern-date-input {
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-size: 0.95rem;
    color: var(--gray-700);
    background: white;
    transition: all 0.2s ease;
    min-width: 160px;
}

.modern-date-input:hover {
    border-color: var(--gray-300);
}

.modern-date-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.date-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    color: var(--gray-400);
}

/* Filter Apply Button */
.btn-filter-apply {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px -2px rgba(99, 102, 241, 0.4);
}

.btn-filter-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px -2px rgba(99, 102, 241, 0.5);
}

.btn-filter-apply:active {
    transform: translateY(0);
}

/* Quick Filters */
.quick-filters-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.quick-filter-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-filter-chip:hover {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-color: #38bdf8;
    color: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.15);
}

.quick-filter-chip:active {
    transform: translateY(0);
}

.quick-filter-chip.active {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.chip-icon {
    font-size: 1rem;
}

/* Data Table Card */
.daily-stats-table-card {
    margin: 0 28px 28px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.daily-stats-table-card .table-responsive {
    overflow-x: auto;
}

/* Modern Data Table */
.modern-data-table {
    width: 100%;
    border-collapse: collapse;
}

.modern-data-table thead {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.modern-data-table thead tr {
    border-bottom: 2px solid var(--gray-100);
}

.modern-data-table th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    color: var(--gray-600);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.th-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.th-content svg {
    color: var(--gray-400);
    flex-shrink: 0;
}

.modern-data-table tbody tr {
    border-bottom: 1px solid var(--gray-100);
    transition: all 0.2s ease;
}

.modern-data-table tbody tr:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03) 0%, rgba(139, 92, 246, 0.02) 100%);
}

.modern-data-table tbody tr:last-child {
    border-bottom: none;
}

.modern-data-table td {
    padding: 16px 20px;
    color: var(--gray-700);
    font-size: 0.95rem;
}

/* Empty State */
.empty-state-row td {
    padding: 60px 20px !important;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.empty-state-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.empty-state-icon svg {
    color: var(--gray-400);
}

.empty-state p {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-600);
    margin: 0;
}

.empty-state-hint {
    font-size: 0.9rem;
    color: var(--gray-400);
}

/* Summary Cards */
.stats-summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    padding: 0 28px 28px;
}

.summary-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.summary-card:hover {
    transform: translateY(-3px);
}

.summary-views {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.08) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.summary-views:hover {
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.15);
}

.summary-views .summary-card-icon {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

.summary-visitors {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.08) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.summary-visitors:hover {
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.15);
}

.summary-visitors .summary-card-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.summary-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.summary-card-icon svg {
    color: white;
    width: 24px;
    height: 24px;
}

.summary-card-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.summary-label {
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 500;
}

.summary-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-800);
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .daily-stats-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 20px;
    }

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

    .daily-stats-filters {
        padding: 20px;
    }

    .date-inputs-row {
        flex-direction: column;
        align-items: stretch;
    }

    .date-input-group {
        width: 100%;
    }

    .modern-date-input {
        width: 100%;
        min-width: unset;
    }

    .date-separator {
        display: none;
    }

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

    .quick-filters-group {
        width: 100%;
    }

    .quick-filter-chip {
        flex: 1;
        justify-content: center;
    }

    .daily-stats-table-card {
        margin: 0 20px 20px;
        border-radius: 12px;
    }

    .modern-data-table th,
    .modern-data-table td {
        padding: 12px 16px;
    }

    .th-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .th-content svg {
        display: none;
    }

    .stats-summary-cards {
        padding: 0 20px 20px;
        grid-template-columns: 1fr;
    }
}