/* ===========================
   COLOR VARIABLES
   =========================== */
:root {
    --primary-green: #46c32d;
    --primary-red: #e1140a;
    --primary-blue: #3d91e7;
    --primary-yellow: #ffd000;
}


/* ===========================
   HEADER CONTAINER
   =========================== */
.header-top {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--primary-blue) 0%, var(--primary-green) 50%, var(--primary-yellow) 100%);
    border-image-slice: 1;
    padding: 1rem 0;
    position: relative;
    overflow: hidden;
}

.header-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(61, 145, 231, 0.05), transparent);
    animation: shimmer 3s infinite;
}

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

    100% {
        left: 100%;
    }
}



/* ===========================
   LOGO SECTION
   =========================== */
.header-logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(61, 145, 231, 0.15);
    transition: all 0.3s ease;
    background: white;
    padding: 0.25rem;
}

.header-logo:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 6px 20px rgba(61, 145, 231, 0.25);
}


/* ===========================
   HEADER TEXT
   =========================== */
.header-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.header-text strong {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a202c;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-text-subtitle {
    font-size: 0.95rem;
    color: #4a5568;
    font-weight: 600;
}


/* ===========================
   DATE SECTION
   =========================== */
.header-date {
    font-weight: 600;
    font-size: 13px;
    color: #1a202c;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(61, 145, 231, 0.1) 0%, rgba(70, 195, 45, 0.1) 100%);
    border-radius: 50px;
    border: 2px solid rgba(61, 145, 231, 0.2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.header-date::before {
    content: '📅';
    font-size: 1.2rem;
}

.header-date:hover {
    background: linear-gradient(135deg, rgba(61, 145, 231, 0.15) 0%, rgba(70, 195, 45, 0.15) 100%);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(61, 145, 231, 0.2);
}

/* Simple Language Switch Styling */
.language-switch {
    display: flex;
    gap: 8px;
    align-items: center;
}

.flag-btn {
    width: 32px;
    height: 24px;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    background: transparent;
    overflow: hidden;
    will-change: transform;
}

.flag-btn:hover {
    transform: scale(1.1);
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.flag-btn.active {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.flag-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 768px) {
    .header-top {
        padding: 0.75rem 0;
    }

    .header-logo {
        width: 50px;
        height: 50px;
    }

    .header-text strong {
        font-size: 0.95rem;
    }

    .header-text-subtitle {
        font-size: 0.85rem;
    }

    .header-date {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }

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

@media (max-width: 576px) {
    .header-logo-section {
        gap: 0.75rem;
    }

    .header-logo {
        width: 45px;
        height: 45px;
    }

    .header-text strong {
        font-size: 0.9rem;
    }

    .header-text-subtitle {
        font-size: 0.8rem;
    }

    .header-date {
        font-size: 0.75rem;
        padding: 0.4rem 0.75rem;
    }
}