/* Estilos migrados desde pages-register.hbs */

:root {
    --register-primary: #EC6E1A;
    --register-primary-dark: #D45E0A;
    --register-primary-light: #F5945F;
    --register-text: var(--text-heading);
    --register-text-muted: var(--text-secondary);
    --register-link: #BAFF00;
  }

  /* 🎬 Video de fondo */
  #background-video {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -2;
    object-fit: cover;
    filter: brightness(65%);
  }

  .overlay {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
      radial-gradient(circle at 20% 20%, rgba(236, 110, 26, 0.25), transparent 55%),
      radial-gradient(circle at 80% 80%, rgba(25, 135, 84, 0.35), transparent 55%),
      rgba(0, 0, 0, 0.12);
  }

  #pages-register.pagesViews {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    color: var(--register-text);
  }

  /* 🧊 Card */
  .register-card {
    background: radial-gradient(circle at 0% 0%, rgba(236, 110, 26, 0.12), rgba(5, 7, 12, 0.96));
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow:
      0 24px 70px rgba(0, 0, 0, 0.95),
      0 0 0 1px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: var(--register-text);
  }

  .register-card .card-body {
    padding: 1.8rem 1.6rem 1.6rem;
  }

  /* Logo */
  .register-logo img {
    max-height: 40px;
    margin-right: 0.6rem;
  }

  .register-logo span {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
  }

  /* Títulos */
  .register-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: #ffffff;
  }

  .register-subtitle {
    font-size: 0.9rem;
    color: var(--register-text-muted);
    margin-bottom: 0.5rem;
  }

  /* Labels / Inputs */
  .register-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--register-text);
  }

  .register-input {
    background: rgba(5, 7, 12, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--register-text);
    font-size: 0.9rem;
  }

  .register-input::placeholder {
    color: rgba(159, 176, 199, 0.7);
  }

  .register-input:focus {
    background: rgba(5, 7, 12, 0.98);
    border-color: var(--register-primary);
    box-shadow: 0 0 0 0.16rem rgba(236, 110, 26, 0.35);
    color: var(--register-text);
  }

  .needs-validation .invalid-feedback {
    font-size: 0.8rem;
  }

  /* Check de términos */
  .register-check .form-check-input {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
  }

  .register-check .form-check-input:checked {
    background-color: var(--register-primary);
    border-color: var(--register-primary);
  }

  .register-check .form-check-label {
    font-size: 0.8rem;
    color: var(--register-text-muted);
  }

  .register-check .form-check-label a {
    color: var(--register-link);
    text-decoration: none;
  }

  .register-check .form-check-label a:hover {
    color: #e2ff7a;
  }

  /* Botón principal */
  .register-btn {
    background: linear-gradient(135deg, var(--register-primary), var(--register-primary-dark));
    border-color: rgba(245, 148, 95, 0.8);
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--bg-base);
    box-shadow: 0 18px 40px rgba(236, 110, 26, 0.5);
  }

  .register-btn:hover {
    filter: brightness(1.05);
    box-shadow: 0 22px 55px rgba(236, 110, 26, 0.6);
  }

  /* Links inferiores */
  .register-links {
    color: var(--register-text-muted);
  }

  .register-links a {
    color: var(--register-link);
    font-weight: 600;
    text-decoration: none;
  }

  .register-links a:hover {
    color: #e2ff7a;
  }

  /* Aviso de mantenimiento */
  .register-alert {
    background: radial-gradient(circle at 0% 0%, rgba(255, 193, 7, 0.18), rgba(5, 7, 12, 0.96));
    border-radius: 14px;
    padding: 0.75rem 0.9rem;
    border: 1px solid rgba(255, 193, 7, 0.6);
    color: #fff3cd;
    font-size: 0.78rem;
  }

  .register-alert-title {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
  }

  .register-alert-title i {
    font-size: 0.95rem;
  }

  .register-alert-text {
    margin: 0;
    color: #ffe8a3;
  }

  /* Separador "¿Problemas para registrarte?" */
  .register-divider {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0.25rem 0 0;
  }

  .register-divider::before,
  .register-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(0, 0, 0, 0.08);
  }

  .register-divider span {
    font-size: 0.72rem;
    color: var(--register-text-muted);
    white-space: nowrap;
  }

  /* Botón WhatsApp */
  .register-btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #1aad55);
    border: none;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #fff;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
    transition: filter 0.2s, box-shadow 0.2s;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .register-btn-whatsapp:hover {
    filter: brightness(1.08);
    box-shadow: 0 14px 40px rgba(37, 211, 102, 0.5);
    color: #fff;
  }

  .register-whatsapp-hint {
    font-size: 0.72rem;
    color: var(--register-text-muted);
    text-align: center;
    margin-top: 0.4rem;
    margin-bottom: 0;
  }

  /* 🫱‍🫲 Campo honeypot oculto */
  .hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
  }

  /* Responsive */
  @media (max-width: 768px) {
    .register-card {
      border-radius: 18px;
    }

    .register-card .card-body {
      padding: 1.5rem 1.3rem 1.4rem;
    }
  }

  @media (max-width: 576px) {
    .register-card .card-body {
      padding: 1.3rem 1.1rem 1.3rem;
    }

    .register-title {
      font-size: 1.2rem;
    }

    .register-logo span {
      font-size: 1.05rem;
    }
  }
  #footer {
   display: none !important;
  }
