/* Atestaria i18n Selector Styles */

.locale-dropdown {
    position: relative;
    display: inline-block;
}

.locale-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 6px 12px;
    color: #e4e4e7;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.locale-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.locale-flag {
    font-size: 1rem;
}

.locale-currency {
    font-weight: 600;
    color: #00d4ff;
}

.locale-arrow {
    font-size: 0.6rem;
    opacity: 0.7;
    transition: transform 0.2s;
}

.locale-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background: rgba(15, 15, 35, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

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

.locale-section {
    padding: 4px 0;
}

.locale-section-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #71717a;
    padding: 6px 16px;
    font-weight: 600;
}

.locale-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.15s;
    color: #a1a1aa;
    font-size: 0.9rem;
}

.locale-option:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.locale-option.active {
    background: rgba(124, 58, 237, 0.2);
    color: #00d4ff;
}

.locale-option .locale-flag,
.locale-option .locale-symbol {
    width: 24px;
    text-align: center;
}

.locale-symbol {
    font-weight: 700;
    color: #7c3aed;
}

.locale-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 8px 0;
}

/* Language selector in footer */
.lang-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 20px 0 10px;
    font-size: 0.85rem;
}

.lang-selector a {
    color: #71717a;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s;
}

.lang-selector a:hover {
    color: #e4e4e7;
    background: rgba(255, 255, 255, 0.08);
}

.lang-selector a.lang-active {
    color: #7c3aed;
    font-weight: 600;
}

.footer-legal {
    margin-left: 16px;
}

.footer-legal a {
    color: #71717a;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: #e4e4e7;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .locale-menu {
        min-width: 160px;
    }
    
    .locale-btn {
        padding: 5px 10px;
    }
    
    .footer-legal {
        display: block;
        margin-left: 0;
        margin-top: 8px;
    }
}
