/* Global header styles (extracted from views/_header.php). Loaded via header. */
/* Header Styles */
.page-top {
    background: #0b73fe;
}

.header {
    background: #0b73fe;
    padding: 10px 0;
}

.container-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo img {
    height: 30px;
    filter: brightness(0) invert(1);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 0;
    margin-left: auto;
}

.nav-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 14px;
}

.nav-button:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

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

/* Dropdown Menu Styles */
.locale-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
    min-width: 180px;
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Compact language list */
.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 10px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: 14px;
    color: #1a1a1a;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s ease;
}

.lang-option:hover {
    background: #f3f4f6;
}

.lang-option.selected {
    background: #eff6ff;
    color: #0c73fe;
    font-weight: 600;
}

.option-flag {
    font-size: 18px;
    line-height: 1;
}

.option-text {
    flex: 1;
}

.locale-text {
    font-weight: 600;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .nav-button span {
        display: none;
    }
    
    .header-nav {
        gap: 4px;
    }
    
    .nav-button {
        padding: 10px;
    }
}
