﻿.legal-page {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

/* =========================================================
   LANGUAGE TABS
   ========================================================= */

.language-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0;
}

.tab-btn {
    padding: 14px 28px;
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

    .tab-btn:hover {
        color: #2563eb;
    }

    .tab-btn.active {
        color: #2563eb;
    }

        .tab-btn.active::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            right: 0;
            height: 3px;
            background: #2563eb;
            border-radius: 2px 2px 0 0;
        }

.language-content {
    display: none;
}

    .language-content.active {
        display: block;
        animation: fadeIn 0.3s ease;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   MOBILE TAB RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {
    .language-tabs {
        gap: 8px;
        margin-bottom: 24px;
    }

    .tab-btn {
        padding: 12px 18px;
        font-size: 14px;
        flex: 1;
        text-align: center;
    }
}

.legal-header {
    background: linear-gradient(135deg, #0dcaf0 0%, #93C5FD 100%);
    color: #ffffff !important;
    padding: 45px;
    border-radius: 18px;
    text-align: center;
    margin-bottom: 35px;
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.18);
}

    .legal-header h1 {
        font-size: 2.3rem;
        font-weight: 700;
        margin-bottom: 10px;
       color:white !important
    }

    .legal-header p {
        font-size: 1rem;
        opacity: .95;
        margin: 0;
    }

.legal-card {
    background: #fff;
    border-radius: 18px;
    padding: 35px;
    margin-bottom: 25px;
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
    border: 1px solid #eef2f7;
}

    .legal-card h2 {
        color: #2563eb;
        font-size: 1.35rem;
        font-weight: 700;
        margin-bottom: 18px;
    }

    .legal-card p {
        color: #475569;
        line-height: 1.9;
        margin-bottom: 15px;
    }

    .legal-card ul {
        padding-left: 20px;
        margin-bottom: 0;
    }

    .legal-card li {
        margin-bottom: 12px;
        color: #475569;
        line-height: 1.8;
    }

.last-updated {
    text-align: center;
    color: #64748b;
    font-size: .95rem;
    margin-top: 30px;
}

@media(max - width:768px) {

    .legal-header {
        padding: 30px 20px;
    }

        .legal-header h1 {
            font-size: 1.8rem;
        }

    .legal-card {
        padding: 25px;
    }
}


.important-notice {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fff8e1;
    border-left: 6px solid #f59e0b;
    color: #78350f;
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

    .important-notice i {
        font-size: 28px;
        color: #f59e0b;
        margin-top: 3px;
    }

    .important-notice h4 {
        margin: 0 0 10px;
        font-size: 20px;
        font-weight: 700;
    }

    .important-notice p {
        margin: 0 0 8px;
        line-height: 1.7;
    }

@media (max-width:768px) {
    .important-notice {
        flex-direction: column;
        padding: 16px;
    }

        .important-notice h4 {
            font-size: 18px;
        }

        .important-notice i {
            font-size: 24px;
        }
}
