/* /css/header.css */
/* Language selector styles */
.language-dropdown {
    position: relative;
}

.language-trigger {
    display: flex;
    align-items: center;
    color: #4B5563;
    cursor: pointer;
    transition: color 0.3s;
    padding: 0.5rem;
    border-radius: 0.5rem;
}

.language-trigger:hover {
    color: #165DFF;
    background-color: rgba(22, 93, 255, 0.05);
}

.language-content {
    position: absolute;
    right: 0;
    margin-top: 0.75rem;
    width: 320px;
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15), 0 3px 6px rgba(0,0,0,0.10);
    padding: 1.5rem;
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transform: translateY(0.5rem);
    transition: all 0.2s ease-in-out;
    border: 1px solid #E5E7EB;
}

.language-dropdown.active .language-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Notification styles */
.notification {
    position: fixed;
    top: 1rem;
    right: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: #10B981;
    color: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateX(calc(100% + 1rem));
    transition: transform 0.3s ease-in-out;
    z-index: 100;
    font-weight: 500;
}

.notification.translate-x-0 {
    transform: translateX(0);
}

/* Header fixed styles */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header-placeholder {
    height: 130px;
    display: none;
}

@media (max-width: 768px) {
    .header-placeholder {
        height: 160px;
    }
}