/* CARIPVCARD 14.0 · dark mode de formularios, footer 3 columnas y botón volver arriba */

/* DARK MODE: formularios y componentes de cuenta/admin */
html[data-theme="dark"]{
  --v14-panel:#111625;
  --v14-panel-2:#0d1220;
  --v14-border:#2b344d;
  --v14-text:#f6f8ff;
  --v14-muted:#b6c0da;
  --v14-input:#171d2d;
  --v14-input-border:#36415e;
}
html[data-theme="dark"] .content-wrap,
html[data-theme="dark"] .client-content{color:var(--v14-text)}
html[data-theme="dark"] .panel,
html[data-theme="dark"] .account-profile-card,
html[data-theme="dark"] .account-card,
html[data-theme="dark"] .subscription-hero,
html[data-theme="dark"] .subscription-period-card,
html[data-theme="dark"] .subscription-renew-card,
html[data-theme="dark"] .payment-history-card,
html[data-theme="dark"] .payment-detail-card,
html[data-theme="dark"] .admin-profile-card,
html[data-theme="dark"] .settings-section,
html[data-theme="dark"] .modal-card{
  background:var(--v14-panel)!important;
  border-color:var(--v14-border)!important;
  color:var(--v14-text)!important;
}
html[data-theme="dark"] .panel h1,
html[data-theme="dark"] .panel h2,
html[data-theme="dark"] .panel h3,
html[data-theme="dark"] .content-wrap h1,
html[data-theme="dark"] .content-wrap h2,
html[data-theme="dark"] .content-wrap h3,
html[data-theme="dark"] .content-wrap strong,
html[data-theme="dark"] .content-wrap label,
html[data-theme="dark"] .content-wrap .field-title,
html[data-theme="dark"] .modal-card h3,
html[data-theme="dark"] .modal-card label{color:var(--v14-text)!important}
html[data-theme="dark"] .content-wrap p,
html[data-theme="dark"] .content-wrap small,
html[data-theme="dark"] .content-wrap .helper-text,
html[data-theme="dark"] .content-wrap .muted,
html[data-theme="dark"] .content-wrap .form-help,
html[data-theme="dark"] .modal-card small,
html[data-theme="dark"] .modal-card p{color:var(--v14-muted)!important}
html[data-theme="dark"] .content-wrap input,
html[data-theme="dark"] .content-wrap select,
html[data-theme="dark"] .content-wrap textarea,
html[data-theme="dark"] .modal-card input,
html[data-theme="dark"] .modal-card select,
html[data-theme="dark"] .modal-card textarea{
  background:var(--v14-input)!important;
  border-color:var(--v14-input-border)!important;
  color:var(--v14-text)!important;
  -webkit-text-fill-color:var(--v14-text)!important;
  opacity:1!important;
}
html[data-theme="dark"] .content-wrap input::placeholder,
html[data-theme="dark"] .content-wrap textarea::placeholder,
html[data-theme="dark"] .modal-card input::placeholder,
html[data-theme="dark"] .modal-card textarea::placeholder{color:#8290af!important;-webkit-text-fill-color:#8290af!important}
html[data-theme="dark"] .content-wrap input:disabled,
html[data-theme="dark"] .content-wrap input[readonly],
html[data-theme="dark"] .content-wrap select:disabled,
html[data-theme="dark"] .content-wrap textarea:disabled,
html[data-theme="dark"] .modal-card input:disabled,
html[data-theme="dark"] .modal-card input[readonly]{
  background:#1c2335!important;
  color:#d7deef!important;
  -webkit-text-fill-color:#d7deef!important;
  border-color:#303b57!important;
  opacity:1!important;
}
html[data-theme="dark"] .modern-file .file-drop,
html[data-theme="dark"] .file-drop,
html[data-theme="dark"] .upload-guidance,
html[data-theme="dark"] .credential-value,
html[data-theme="dark"] .color-control,
html[data-theme="dark"] .slug-input{
  background:#171d2d!important;
  border-color:#394460!important;
  color:var(--v14-text)!important;
}
html[data-theme="dark"] .modern-file .file-drop strong,
html[data-theme="dark"] .file-drop strong{color:#fff!important}
html[data-theme="dark"] .modern-file .file-drop small,
html[data-theme="dark"] .file-drop small{color:#aab5d0!important}
html[data-theme="dark"] .subscription-period-card .metric-card,
html[data-theme="dark"] .subscription-metric,
html[data-theme="dark"] .payment-row,
html[data-theme="dark"] .payment-item{
  background:#171d2d!important;
  border-color:#313c58!important;
  color:#fff!important;
}
html[data-theme="dark"] .subscription-period-card .metric-card span,
html[data-theme="dark"] .subscription-period-card .metric-card small,
html[data-theme="dark"] .subscription-metric span,
html[data-theme="dark"] .subscription-metric small{color:#aeb9d5!important}
html[data-theme="dark"] .subscription-period-card .metric-card strong,
html[data-theme="dark"] .subscription-metric strong{color:#fff!important}
html[data-theme="dark"] .check-row,
html[data-theme="dark"] .modern-switch-row,
html[data-theme="dark"] .remove-file-check{color:#e9eeff!important}
html[data-theme="dark"] input[type="color"]{background:transparent!important}

/* FOOTER NUEVO */
.landing-footer.v14-footer{background:linear-gradient(145deg,#0a1020 0%,#0d1327 55%,#10162d 100%);color:#fff;padding:70px max(24px,calc((100vw - 1180px)/2)) 26px;position:relative;overflow:hidden}
.landing-footer.v14-footer::before{content:"";position:absolute;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(109,93,252,.14),transparent 67%);right:-120px;top:-190px;pointer-events:none}
.v14-footer-grid{display:grid;grid-template-columns:1.25fr .85fr .9fr;gap:56px;position:relative;z-index:1}
.v14-footer-col h4{margin:0 0 18px;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:#fff}
.v14-footer-brand{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.v14-footer-brand img{max-width:150px;max-height:54px;object-fit:contain}
.v14-footer-brand strong{font-size:20px}.v14-footer-brand strong span{color:#8b7cff}
.v14-footer-description{margin:0;max-width:360px;color:#9ca8c2;font-size:13px;line-height:1.8}
.v14-footer-links{display:grid;grid-template-columns:1fr 1fr;gap:12px 18px}
.v14-footer-links a,.v14-footer-contact a{color:#b8c2d9;font-size:12px;transition:.2s}
.v14-footer-links a:hover,.v14-footer-contact a:hover{color:#fff;transform:translateX(2px)}
.v14-footer-contact{display:grid;gap:12px}
.v14-footer-contact a{display:flex;align-items:center;gap:10px}.v14-footer-contact i{width:28px;height:28px;border-radius:9px;background:rgba(109,93,252,.13);display:grid;place-items:center;color:#a99fff}
.v14-footer-cta{margin-top:18px;display:inline-flex!important;align-items:center;justify-content:center;gap:8px!important;padding:11px 15px;border-radius:12px;background:linear-gradient(135deg,#6d5dfc,#8b5cf6);color:#fff!important;font-weight:800!important;width:max-content}
.v14-footer-bottom{position:relative;z-index:1;margin-top:44px;padding-top:22px;border-top:1px solid rgba(255,255,255,.09);display:flex;justify-content:space-between;gap:18px;align-items:center;color:#7f8ba6;font-size:11px}
.v14-footer-bottom-links{display:flex;gap:16px;align-items:center}.v14-footer-bottom a{color:#aab4ca}

/* WhatsApp + volver arriba */
.floating-whatsapp{bottom:24px!important;right:24px!important}
.floating-scroll-top{position:fixed;right:24px;bottom:88px;z-index:91;width:48px;height:48px;border:0;border-radius:15px;background:#fff;color:#4f46e5;display:grid;place-items:center;box-shadow:0 14px 36px rgba(19,29,56,.18);cursor:pointer;opacity:0;visibility:hidden;transform:translateY(10px);transition:.25s;border:1px solid #e5e7ef}
.floating-scroll-top.visible{opacity:1;visibility:visible;transform:none}
.floating-scroll-top:hover{background:#6d5dfc;color:#fff;transform:translateY(-2px)}
.floating-scroll-top i{font-size:16px}

@media(max-width:850px){.v14-footer-grid{grid-template-columns:1fr 1fr}.v14-footer-col:first-child{grid-column:1/-1}.v14-footer-description{max-width:520px}}
@media(max-width:600px){.landing-footer.v14-footer{padding:50px 22px 22px}.v14-footer-grid{grid-template-columns:1fr;gap:34px}.v14-footer-col:first-child{grid-column:auto}.v14-footer-links{grid-template-columns:1fr 1fr}.v14-footer-bottom{flex-direction:column;align-items:flex-start}.floating-scroll-top{right:18px;bottom:82px}.floating-whatsapp{right:18px!important;bottom:18px!important}}
