/* ═══════════════════════════════════════════════════════════════════════════
   ONCLICWEB — CSS AUTH (Registro / Login)
   Dark design, coherente con la home pública.
   ═══════════════════════════════════════════════════════════════════════════ */

.ocw-auth-page {
  min-height: 100vh;
  background: #020817;
  display: flex; flex-direction: column;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.ocw-auth-page::before {
  content: '';
  position: fixed; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(6,182,212,.12) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.ocw-auth-nav {
  position: relative; z-index: 10;
  padding: 1.25rem clamp(1.5rem, 5vw, 3rem);
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.ocw-auth-nav__logo { font-size: 1.2rem; font-weight: 900; color: #f8fafc; text-decoration: none; }
.ocw-auth-nav__logo span { color: #06b6d4; }
.ocw-auth-nav__link { font-size: .875rem; color: #94a3b8; text-decoration: none; transition: color .2s; }
.ocw-auth-nav__link:hover { color: #f8fafc; }
.ocw-auth-main {
  position: relative; z-index: 1; flex: 1;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 3rem 1.5rem;
}
.ocw-auth-wrap {
  display: grid; grid-template-columns: 460px 1fr;
  gap: 4rem; align-items: start; max-width: 880px; width: 100%;
}
.ocw-auth-wrap--single { grid-template-columns: 1fr; max-width: 460px; }
.ocw-auth-box {
  background: rgba(15,23,42,.95);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px; padding: 2.5rem;
  box-shadow: 0 24px 80px rgba(0,0,0,.5);
  backdrop-filter: blur(12px);
}
.ocw-auth-header { margin-bottom: 2rem; }
.ocw-auth-title  { font-size: 1.6rem; font-weight: 800; color: #f8fafc; margin-bottom: .4rem; line-height: 1.2; }
.ocw-auth-sub    { font-size: .9rem; color: #64748b; }
.ocw-auth-field  { margin-bottom: 1.1rem; }
.ocw-auth-field--check { display: flex; align-items: flex-start; gap: .6rem; font-size: .875rem; color: #94a3b8; }
.ocw-auth-field--check input { margin-top: 3px; accent-color: #06b6d4; flex-shrink: 0; }
.ocw-auth-field--check a { color: #06b6d4; }
.ocw-auth-label { display: block; font-size: .78rem; font-weight: 600; color: #64748b; margin-bottom: .4rem; letter-spacing: .04em; text-transform: uppercase; }
.ocw-auth-hint  { font-size: .75rem; color: #475569; margin-top: .3rem; line-height: 1.5; }
.ocw-auth-input {
  width: 100%; padding: .75rem 1rem;
  background: rgba(30,41,59,.8);
  border: 1.5px solid rgba(255,255,255,.08);
  border-radius: 10px; font-size: .95rem; font-family: inherit;
  color: #f8fafc; outline: none;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.ocw-auth-input::placeholder { color: #475569; }
.ocw-auth-input:focus { border-color: #06b6d4; background: rgba(30,41,59,1); box-shadow: 0 0 0 3px rgba(6,182,212,.15); }
.ocw-slug-preview {
  display: flex; align-items: center;
  background: rgba(30,41,59,.8);
  border: 1.5px solid rgba(255,255,255,.08);
  border-radius: 10px; overflow: hidden;
  transition: border-color .18s, box-shadow .18s;
}
.ocw-slug-preview:focus-within { border-color: #06b6d4; box-shadow: 0 0 0 3px rgba(6,182,212,.15); }
.ocw-slug-preview__base { padding: .75rem .85rem; font-size: .8rem; color: #475569; border-right: 1px solid rgba(255,255,255,.08); white-space: nowrap; flex-shrink: 0; background: rgba(15,23,42,.6); }
.ocw-slug-preview .ocw-auth-input { border: none; box-shadow: none; border-radius: 0; background: transparent; }
.ocw-slug-preview .ocw-auth-input:focus { box-shadow: none; border: none; }
.ocw-slug-msg { font-size: .78rem; margin-top: .35rem; min-height: 1rem; }
.ocw-slug-msg.ok  { color: #22c55e; }
.ocw-slug-msg.err { color: #ef4444; }
.ocw-auth-feedback { font-size: .875rem; border-radius: 10px; margin-bottom: .75rem; min-height: 1rem; transition: all .2s; }
.ocw-auth-feedback.is-error   { background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.25); color: #fca5a5; padding: .75rem 1rem; }
.ocw-auth-feedback.is-success { background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.25); color: #86efac; padding: .75rem 1rem; }
.ocw-auth-btn {
  width: 100%; padding: .9rem; background: #06b6d4; color: #000;
  border: none; border-radius: 10px; font-size: 1rem; font-weight: 800;
  font-family: inherit; cursor: pointer;
  transition: background .18s, transform .12s, box-shadow .18s;
  margin-top: .25rem; display: flex; align-items: center; justify-content: center; gap: .5rem;
}
.ocw-auth-btn:hover { background: #22d3ee; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(6,182,212,.35); }
.ocw-auth-btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.ocw-auth-switch { text-align: center; font-size: .875rem; color: #64748b; margin-top: 1.25rem; }
.ocw-auth-switch a { color: #06b6d4; font-weight: 600; text-decoration: none; }
.ocw-auth-benefits { padding-top: .5rem; }
.ocw-auth-benefits h3 { font-size: 1.3rem; font-weight: 800; color: #f8fafc; margin-bottom: 1.5rem; line-height: 1.3; }
.ocw-auth-benefits__list { list-style: none; padding: 0; margin-bottom: 2rem; }
.ocw-auth-benefits__list li { display: flex; align-items: flex-start; gap: .75rem; padding: .65rem 0; font-size: .9rem; color: #94a3b8; border-bottom: 1px solid rgba(255,255,255,.05); }
.ocw-auth-benefits__list li:last-child { border-bottom: none; }
.ocw-auth-benefits__list li .check { color: #06b6d4; font-weight: 700; flex-shrink: 0; }
.ocw-auth-price-box { background: rgba(6,182,212,.08); border: 1px solid rgba(6,182,212,.2); border-radius: 14px; padding: 1.25rem 1.5rem; }
.ocw-auth-price-box p { font-size: .875rem; color: #94a3b8; margin-bottom: .35rem; }
.ocw-auth-price-box strong { font-size: 1.5rem; font-weight: 900; color: #06b6d4; }

/* Tabla precios shortcode (sobre fondo claro del theme) */
.ocw-precios-wrap { padding: 2rem 0; max-width: 800px; margin: 0 auto; }
.ocw-precios-header { text-align: center; margin-bottom: 3rem; }
.ocw-precios-header h2 { font-size: 2rem; font-weight: 800; }
.ocw-precios-header p  { color: #64748b; margin-top: .5rem; }
.ocw-precios-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.ocw-plan-card { background: #fff; border: 1.5px solid #e2e8f0; border-radius: 16px; padding: 2rem; position: relative; box-shadow: 0 2px 16px rgba(0,0,0,.06); }
.ocw-plan-card--featured { border-color: #06b6d4; box-shadow: 0 4px 32px rgba(6,182,212,.15); }
.ocw-plan-card__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: #06b6d4; color: #000; font-size: .72rem; font-weight: 800; padding: .3rem 1.1rem; border-radius: 999px; white-space: nowrap; }
.ocw-plan-card__name   { font-size: .8rem; font-weight: 800; color: #06b6d4; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .75rem; }
.ocw-plan-card__amount { font-size: 3rem; font-weight: 900; color: #0f172a; line-height: 1; }
.ocw-plan-card__period { font-size: .85rem; color: #64748b; margin-top: .3rem; margin-bottom: 1.5rem; }
.ocw-plan-card__features { list-style: none; padding: 0; margin-bottom: 1.75rem; }
.ocw-plan-card__features li { display: flex; align-items: center; gap: .6rem; padding: .55rem 0; font-size: .875rem; color: #334155; border-bottom: 1px solid #f1f5f9; }
.ocw-plan-card__features li:last-child { border-bottom: none; }
.ocw-plan-card__features li.disabled { color: #94a3b8; }
.ocw-plan-card__btn { display: block; width: 100%; text-align: center; padding: .85rem; border-radius: 10px; font-weight: 700; font-size: .95rem; text-decoration: none; transition: all .2s; }
.ocw-plan-card__btn--free    { background: #f1f5f9; color: #1e293b; }
.ocw-plan-card__btn--free:hover { background: #e2e8f0; }
.ocw-plan-card__btn--premium { background: #06b6d4; color: #000; }
.ocw-plan-card__btn--premium:hover { background: #22d3ee; }
.ocw-plan-card__note { text-align: center; font-size: .78rem; color: #94a3b8; margin-top: .65rem; }

/* Notas admin */
.ocw-admin-wrap { max-width: 1100px; }
.ocw-admin-title { font-size: 1.4rem; margin-bottom: 1.5rem; font-weight: 800; }
.ocw-admin-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; margin-bottom: 2rem; }
.ocw-admin-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 1.5rem; text-align: center; }
.ocw-admin-card--green  { border-left: 4px solid #22c55e; }
.ocw-admin-card--blue   { border-left: 4px solid #3b82f6; }
.ocw-admin-card--orange { border-left: 4px solid #f59e0b; }
.ocw-admin-card__num   { font-size: 2.5rem; font-weight: 800; color: #0f172a; line-height: 1; }
.ocw-admin-card__label { font-size: .85rem; color: #64748b; margin-top: .5rem; }
.ocw-badge { display: inline-block; padding: .2rem .65rem; border-radius: 999px; font-size: .75rem; font-weight: 700; }
.ocw-badge--free    { background: #f1f5f9; color: #475569; }
.ocw-badge--trial   { background: #fef3c7; color: #92400e; }
.ocw-badge--premium,.ocw-badge--active { background: #dcfce7; color: #166534; }
.ocw-badge--expired { background: #fee2e2; color: #991b1b; }

@media (max-width: 860px) {
  .ocw-auth-wrap { grid-template-columns: 1fr; max-width: 480px; }
  .ocw-auth-benefits { display: none; }
  .ocw-precios-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .ocw-admin-cards { grid-template-columns: 1fr 1fr; }
}
