/* ═══════════════════════════════════════════════════════════════
   privacy-request-page.css — Public PDPL Request Form
   ═══════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Cairo', sans-serif;
    background: #f8fafc; color: #1e293b;
    margin: 0; padding: 0;
}

/* ── Top bar ── */
.top-bar {
    background: #1B2B4B; color: #fff; padding: 44px 0 36px;
}
.top-bar h1 { font-size: 1.6rem; font-weight: 700; margin: 0 0 6px; }
.top-bar .sub { color: rgba(255,255,255,.55); font-size: .85rem; }
.top-bar .pdpl-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(43,122,94,.25); border: 1px solid rgba(43,122,94,.4);
    color: #86efac; border-radius: 20px; padding: 3px 12px;
    font-size: .75rem; font-weight: 700; margin-top: 10px;
}

.prv-container { max-width: 680px; margin: 0 auto; padding: 0 20px; }

.prv-brand {
    display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
}
.prv-logo {
    height: 42px; border-radius: 6px;
    filter: brightness(0) invert(1); opacity: .85;
}
.prv-site-name { font-size: 1rem; font-weight: 600; opacity: .8; }

/* ── Content wrapper ── */
.content-wrap { max-width: 680px; margin: 36px auto 64px; padding: 0 20px; }

/* ── Form card ── */
.form-card {
    background: #fff; border: 1px solid #e2e8f0;
    border-radius: 14px; padding: 36px 40px 40px;
    box-shadow: 0 2px 12px rgba(27,43,75,.07);
}

.prv-form-title {
    font-size: 1rem; font-weight: 800; color: #1B2B4B; margin: 0 0 24px;
}
.prv-form-title .fas { color: #2563eb; }

/* ── Labels & inputs ── */
.prv-label {
    display: block; font-weight: 600; font-size: .88rem;
    color: #374151; margin-bottom: 6px;
}
.prv-label-sub { font-weight: 400; color: #94a3b8; font-size: .78rem; }

.prv-input,
.prv-textarea {
    width: 100%; font-family: 'Cairo', sans-serif; font-size: .9rem;
    border: 1px solid #cbd5e1; border-radius: 8px;
    padding: 8px 12px; color: #1e293b; background: #fff;
    outline: none; transition: border-color .15s, box-shadow .15s;
}
.prv-input { height: 40px; }
.prv-textarea { resize: vertical; min-height: 96px; }
.prv-input:focus,
.prv-textarea:focus {
    border-color: #1B2B4B;
    box-shadow: 0 0 0 3px rgba(27,43,75,.12);
}

/* ── Form layout ── */
.prv-group { margin-bottom: 18px; }
.prv-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.prv-col   { display: flex; flex-direction: column; }

/* ── Divider ── */
.prv-divider { border: none; border-top: 1px solid #f1f5f9; margin: 20px 0 24px; }

/* ── Type grid ── */
.type-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px;
}
.type-option {
    border: 2px solid #e2e8f0; border-radius: 10px; padding: 14px 16px;
    cursor: pointer; transition: border-color .2s, background .2s;
}
.type-option:hover     { border-color: #1B2B4B; background: #f8fafc; }
.type-option input[type=radio] { display: none; }
.type-option.selected  { border-color: #1B2B4B; background: #eef2ff; }
.type-option .icon     { font-size: 1.3rem; margin-bottom: 5px; }
.type-option .label    { font-size: .83rem; font-weight: 700; color: #1B2B4B; }
.type-option .desc     { font-size: .75rem; color: #64748b; margin-top: 2px; }

/* ── Validation ── */
.required-star { color: #dc2626; }
.prv-field-err {
    font-size: .82rem; color: #dc2626; margin-top: 4px;
    display: flex; align-items: center; gap: 4px;
}

/* ── Info box ── */
.info-box {
    background: #eff6ff; border: 1px solid #bfdbfe;
    border-radius: 10px; padding: 14px 16px;
    font-size: .82rem; color: #1e40af; margin-bottom: 22px;
}

/* ── Error alert ── */
.prv-error-box {
    display: flex; align-items: center; gap: 8px;
    background: #fef2f2; border: 1px solid #fecaca;
    border-radius: 8px; padding: 12px 14px;
    font-size: .88rem; color: #b91c1c; margin-bottom: 18px;
}

/* ── Warning box ── */
.prv-warn-box {
    background: #fef9c3; border: 1px solid #fde047;
    border-radius: 8px; padding: 10px 14px;
    font-size: .78rem; color: #854d0e; margin-bottom: 20px;
}

/* ── Char hint ── */
.prv-char-hint { font-size: .75rem; color: #94a3b8; margin-top: 4px; }

/* ── Submit button ── */
.prv-submit-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; height: 48px;
    background: #1B2B4B; color: #fff; border: none;
    border-radius: 8px; font-family: 'Cairo', sans-serif;
    font-size: .95rem; font-weight: 700; cursor: pointer;
    transition: opacity .15s;
}
.prv-submit-btn:hover { opacity: .88; }

/* ── Success state ── */
.success-box {
    background: #f0fdf4; border: 1px solid #bbf7d0;
    border-radius: 14px; padding: 48px 40px; text-align: center;
}
.success-box .check-icon {
    width: 64px; height: 64px; border-radius: 50%;
    background: #22c55e; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; margin: 0 auto 20px;
}
.success-box h3 { font-size: 1.2rem; font-weight: 800; color: #166534; margin-bottom: 8px; }
.success-box p  { font-size: .88rem; color: #166534; margin: 0; }

.prv-success-back { text-align: center; margin-top: 24px; }
.prv-back-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 18px; border-radius: 8px;
    border: 1px solid #cbd5e1; background: #fff;
    color: #374151; font-size: .85rem; font-weight: 600;
    text-decoration: none; font-family: 'Cairo', sans-serif;
    transition: background .15s;
}
.prv-back-btn:hover { background: #f8fafc; }

/* ── Honeypot ── */
.prv-honeypot {
    position: absolute; left: -9999px;
    opacity: 0; height: 0; overflow: hidden;
}

/* ── Icon gap ── */
.prv-icon-gap { margin-inline-end: 5px; }

/* ── Footer ── */
.footer-note {
    text-align: center; font-size: .78rem; color: #94a3b8; margin-top: 28px;
}
.footer-note a { color: #1B2B4B; font-weight: 600; text-decoration: none; }
.footer-note a:hover { text-decoration: underline; }

/* ── Responsive ── */
@media (max-width: 600px) {
    .form-card  { padding: 24px 18px 28px; }
    .type-grid  { grid-template-columns: 1fr; }
    .prv-row    { grid-template-columns: 1fr; }
}
