/* Footer & global base - extracted from includes/footer.php */
/* Sticky footer: footer stays at bottom on short pages */
/* Prevent mobile overscroll "lift" / rubber-band (Android + iPhone) */
html {
    height: 100%;
    overscroll-behavior: none;
    -webkit-overflow-scrolling: touch;
}
body {
    min-height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    overscroll-behavior: none;
    touch-action: manipulation;
    /* Scroll smooth pe tot site-ul pentru mobile */
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}
/* Keep body blur/overlay layers behind content (fixed so they don't participate in flex) */
body::before,
body::after {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.page-main { flex: 1 0 auto; }
.footer-language {
    background: rgba(15, 23, 42, 0.95);
    padding: 14px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
    flex-shrink: 0;
}

.footer-legal-links {
    text-align: center;
    font-size: 12px;
}
.footer-legal-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}
.footer-legal-links a:hover {
    color: #22d3ee;
}
.footer-sep {
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.4);
}

/* Toate textarea-urile: fără redimensionare */
textarea {
    resize: none;
}

/* Base styles for language selector (used in Settings) */
.language-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 100%;
}
.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}
.lang-flag-img {
    width: 24px;
    height: 24px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .footer-language {
        padding: 10px 15px;
    }
}
