/* Modo oscuro de pedir-informe, privacidad y términos (Tailwind CDN).
   Pisa las clases de color que usan esas páginas cuando <html data-theme="dark">.
   La landing (index.html) tiene su propio tema con variables. */

.theme-btn{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;flex:none;border-radius:12px;border:1px solid #e2e8f0;background:#fff;color:#1e293b;cursor:pointer;transition:border-color .2s}
.theme-btn:hover{border-color:#94a3b8}
.theme-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.theme-btn .sun,[data-theme="dark"] .theme-btn .moon{display:none}
[data-theme="dark"] .theme-btn .sun{display:block}
[data-theme="dark"] .theme-btn{background:#15211C;border-color:#33463E;color:#E8EFEB}

:root[data-theme="dark"]{color-scheme:dark}
[data-theme="dark"] body{background:#0D1512;color:#E8EFEB}

/* Utilidades de Tailwind */
[data-theme="dark"] .text-oxford{color:#E8EFEB}
[data-theme="dark"] .text-oxford-light{color:#C9D5CF}
[data-theme="dark"] .text-oxford-muted{color:#A3B2AB}
[data-theme="dark"] .hover\:text-oxford:hover{color:#fff}
[data-theme="dark"] .bg-oxford{background-color:#E8EFEB}
[data-theme="dark"] .bg-white{background-color:#15211C}
[data-theme="dark"] .bg-white\/85,[data-theme="dark"] .bg-white\/90{background-color:rgba(13,21,18,.9)}
[data-theme="dark"] .bg-slate-100,[data-theme="dark"] .hover\:bg-slate-50:hover{background-color:#1B2A24}
[data-theme="dark"] .bg-\[\#f8fafc\]{background-color:#0D1512}
[data-theme="dark"] .bg-gradient-to-b.from-white{background-image:linear-gradient(#15211C,#0D1512)}
[data-theme="dark"] .border-slate-100,[data-theme="dark"] .border-slate-200,[data-theme="dark"] .border-slate-200\/60,
[data-theme="dark"] .border-slate-200\/70,[data-theme="dark"] .border-slate-200\/80{border-color:#24332D}

/* pedir-informe */
[data-theme="dark"] .hero-title{background-image:linear-gradient(130deg,#E8EFEB 0%,#C9D5CF 45%,#3DD394 100%)}
[data-theme="dark"] .grid-bg{background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px)}
[data-theme="dark"] .form-card{background:#15211C;border-color:#24332D}
[data-theme="dark"] .field-label{color:#C9D5CF}
[data-theme="dark"] .field-hint{color:#A3B2AB}
[data-theme="dark"] .input,[data-theme="dark"] .select-field,[data-theme="dark"] textarea{background-color:#0D1512;border-color:#33463E;color:#E8EFEB}
[data-theme="dark"] .input:hover,[data-theme="dark"] .select-field:hover,
[data-theme="dark"] .input:focus,[data-theme="dark"] .select-field:focus,[data-theme="dark"] textarea:focus{background-color:#111C18}
[data-theme="dark"] .input:focus,[data-theme="dark"] .select-field:focus,[data-theme="dark"] textarea:focus{border-color:#0fa968}
[data-theme="dark"] .input::placeholder{color:#6B7B74}
[data-theme="dark"] .na-hint{background:#12291F;color:#A7E8C8}
[data-theme="dark"] .radio-card{background:#0D1512;border-color:#33463E}
[data-theme="dark"] .radio-card:hover{background:#111C18;border-color:rgba(15,169,104,.4)}
[data-theme="dark"] .radio-card.selected{background:#12291F;border-color:#0fa968}
[data-theme="dark"] .radio-dot{border-color:#4B5E56}
[data-theme="dark"] .radio-card.selected .radio-dot{border-color:#0fa968}
[data-theme="dark"] .summary-card{background:#15211C;border-color:#24332D;box-shadow:0 12px 36px rgba(0,0,0,.4)}
[data-theme="dark"] .btn-informe:disabled,[data-theme="dark"] .btn-mp:disabled{background:#33463E}
[data-theme="dark"] .alert-warning{background:#2A2212;border-color:#4A3A1C}

/* privacidad y términos */
[data-theme="dark"] .legal-body{color:#A3B2AB}
[data-theme="dark"] .legal-body h2,[data-theme="dark"] .legal-body h3{color:#E8EFEB}
[data-theme="dark"] .legal-body strong{color:#C9D5CF}
[data-theme="dark"] .legal-body th,[data-theme="dark"] .legal-body td{border-color:#24332D}
[data-theme="dark"] .legal-body th{background:#1B2A24;color:#E8EFEB}
[data-theme="dark"] .toc a{color:#A3B2AB}
[data-theme="dark"] .toc a:hover{color:#3DD394}
[data-theme="dark"] .warning-box{background:#2A2212;border-color:#4A3A1C;border-left-color:#f59e0b}
[data-theme="dark"] .info-box{background:#0F2A30;border-color:#1A4650;border-left-color:#22b8cf}
[data-theme="dark"] .success-box{background:#12291F;border-color:#1F4A37;border-left-color:#0fa968}
