/* Legal footer and other components */
.lang-toggle {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 200;
    padding: 6px 12px;
    font-size: clamp(12px, 1.8vw, 14px);
    line-height: 1;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
    opacity: 0.7;
}

.lang-toggle:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.35);
}

.lang-toggle:active {
    transform: translateY(1px);
}

.lang-toggle:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}

/* Ensure language toggle adapts on very small screens */
@media screen and (max-width: 480px) {
    .lang-toggle {
        top: 8px;
        right: 8px;
        padding: 5px 10px;
        font-size: 12px;
    }
}

.legal-footer {
    position: fixed;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    opacity: 0.3;
    transition: opacity 0.3s ease;
    font-size: 11px;
    text-align: center;
    white-space: nowrap;
}

/* Ensure legal footer stays on one line on very small screens */
@media screen and (max-width: 480px) {
    .legal-footer {
        font-size: 10px;
    }
    
    .legal-footer a {
        margin: 0 4px;
    }
}

.legal-footer:hover {
    opacity: 0.7;
}

.legal-footer a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin: 0 8px;
    font-weight: 300;
    transition: color 0.3s ease;
}

.legal-footer a:hover {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
}

.legal-separator {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 4px;
}

/* Move legal footer up when contact form is active */
body.form-active .legal-footer {
    bottom: 70px;
}
