@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f6f8fa;
    color: #374151;
    line-height: 1.6;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 760px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    padding: 48px;
    margin: auto;
}

@media (max-width: 640px) {
    body {
        padding: 20px 10px;
    }
    .container {
        padding: 24px;
        border-radius: 12px;
    }
}

/* Header Styling */
.header-badge {
    display: inline-block;
    background-color: #fef3c7;
    color: #d97706;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 14px;
    border-radius: 9999px;
    margin-bottom: 20px;
}

.title {
    font-size: 34px;
    font-weight: 700;
    color: #1e3a8a;
    line-height: 1.25;
    margin-bottom: 8px;
}

.deletion-title {
    color: #2563eb;
}

.subtitle {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 24px;
}

.subtitle strong {
    color: #1f2937;
}

hr {
    border: 0;
    border-top: 1px solid #e5e7eb;
    margin-bottom: 32px;
}

/* Privacy Policy Sections */
.section {
    margin-bottom: 32px;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.section-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background-color: #0f172a;
    color: #ffffff;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    margin-right: 12px;
    flex-shrink: 0;
}

.section-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
}

.section-content {
    font-size: 15px;
    color: #4b5563;
    padding-left: 38px;
}

.section-content p {
    margin-bottom: 12px;
}

.section-content p:last-child {
    margin-bottom: 0;
}

.section-content strong {
    color: #111827;
}

@media (max-width: 640px) {
    .section-content {
        padding-left: 0;
        margin-top: 8px;
    }
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    font-family: inherit;
    color: #1f2937;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    transition: all 0.2s ease-in-out;
}

.form-control:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 24px;
    margin-bottom: 28px;
}

.checkbox-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    accent-color: #2563eb;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
    cursor: pointer;
    user-select: none;
}

/* Button & Action Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #3b82f6;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    width: auto;
}

.btn:hover {
    background-color: #2563eb;
}

.btn:active {
    transform: scale(0.98);
}

.btn:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

/* Feedback messages */
.alert {
    padding: 16px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success {
    background-color: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.alert-error {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Spinner for AJAX loading */
.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.lang-switcher {
    background-color: #f3f4f6;
    color: #4b5563;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    border: 1px solid #e5e7eb;
    display: inline-flex;
    align-items: center;
}

.lang-switcher:hover {
    background-color: #e5e7eb;
    color: #111827;
}

[dir="rtl"] {
    text-align: right;
}
