/*
 * Register modal (#registerUser) — profile-ready + resume cards.
 *
 * Recovered from commit 4518f6c (nx/footer.php inline <style>, `.ccb-reg-modal`
 * block) and trimmed to the registration resume UX: the inline register-OTP step
 * is intentionally dropped, so only the modal chrome and the two card variants
 * (`.js-register-profile-ready`, `.js-register-resume`) are kept. Scoped under
 * `.ccb-reg-modal`.
 *
 * Excluded from Lune Optimizer RUCSS (see inc/ccb-reg-modal.php) so the rules
 * survive for a modal that is only revealed by perfil-pev.js at runtime.
 */

.ccb-reg-modal .modal-dialog { max-width: 760px; }
.ccb-reg-modal .modal-content {
  border-radius: 24px;
  border: none;
  background-color: #fff;
  font-family: 'Barlow', sans-serif;
  box-shadow: 0 12px 40px rgba(11, 18, 48, 0.14);
  padding: 2rem 2.25rem;
}
.ccb-reg-modal .upper-menu { margin-bottom: 1.25rem; }
.ccb-reg-modal h2.menu-info {
  font-family: 'Barlow', sans-serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.25;
  color: #212120;
  margin: 0 0 0.75rem;
}
.ccb-reg-modal h3.menu-info {
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  color: #000;
  margin: 0 0 1rem;
}
.ccb-reg-modal .btn {
  min-height: 51px;
  border-radius: 12px;
  font-family: 'Barlow', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}
.ccb-reg-modal .btn-primary {
  background-color: #3482FE;
  border-color: #3482FE;
  color: #fff;
}
.ccb-reg-modal .btn-primary:hover {
  background-color: #2a6ee0;
  border-color: #2a6ee0;
  color: #fff;
}
.ccb-auth-muted {
  color: #6c757d;
  font-size: 16px !important;
  line-height: 1.5 !important;
  margin-bottom: 25px !important;
}
.ccb-reg-modal .ccb-reg-ready-image {
  display: block;
  margin: 0 auto 16px;
  width: 96px;
  height: 96px;
  object-fit: contain;
}
.ccb-reg-modal h3.menu-info.js-register-resume-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: #0B1230;
  margin: 0 0 1rem;
  text-align: center;
}
.ccb-reg-modal .ccb-reg-resume-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #F5F6FE;
  border: 1px solid #E3E7FB;
  border-radius: 12px;
  padding: 16px 20px;
  margin: 0 0 1.5rem;
  text-align: left;
}
.ccb-reg-modal .ccb-reg-resume-banner-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: #2563EB;
}
.ccb-reg-modal .ccb-reg-resume-banner-icon svg { width: 22px; height: 22px; display: block; }
.ccb-reg-modal .ccb-reg-resume-banner-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #0B1230;
  text-align: left;
}
.ccb-reg-modal .ccb-reg-resume-banner-text strong { font-weight: 700; color: #0B1230; }
.ccb-reg-modal .ccb-reg-resume-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 260px;
  height: 54px;
  border-radius: 12px !important;
  background-color: #2563EB !important;
  border-color: #2563EB !important;
  color: #fff !important;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
  transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.ccb-reg-modal .ccb-reg-resume-action:hover,
.ccb-reg-modal .ccb-reg-resume-action:focus {
  background-color: #1D4ED8 !important;
  border-color: #1D4ED8 !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.32);
}
.ccb-reg-modal .ccb-reg-resume-action:disabled {
  opacity: 0.65;
  transform: none;
  box-shadow: none;
}
.ccb-reg-modal .ccb-reg-resume-action-arrow {
  display: inline-flex;
  align-items: center;
}
.ccb-reg-modal .ccb-reg-resume-action-arrow svg { width: 16px; height: 16px; color: #fff; display: block; }
/* --- Form layout: labels como bloque con aire + botones centrados --- */
.ccb-reg-modal .js-perfil-intro {
  padding-left: 15px;
}
.ccb-reg-modal .js-form-register .row > [class*="col-"] > span {
  display: block;
  margin-bottom: 0.6rem !important;
  font-weight: 600;
  color: #212120;
}
.ccb-reg-modal .js-form-register p {
  margin-bottom: 1rem !important;
  margin-top: 1rem !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}
.ccb-reg-modal .js-form-register .form-group { margin-bottom: 0.5rem; }
.ccb-reg-modal .js-form-register .col-12.mt-4 .row {
  justify-content: center;
  gap: 12px;
}
.ccb-reg-modal .js-form-register .col-12.mt-4 .col-6 {
  flex: 0 1 auto;
  width: auto;
}
.ccb-reg-modal .js-form-register .btn-block { width: auto; }

@media (max-width: 480px) {
  .ccb-reg-modal .modal-dialog {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    max-width: none;
    width: auto;
  }
  .ccb-reg-modal .modal-content { padding: 1.5rem 1rem; }
  .ccb-reg-modal .ccb-reg-resume-action { width: 100%; min-width: 0; }
  .ccb-reg-modal .ccb-reg-resume-banner { padding: 14px 16px; }
  .ccb-reg-modal .js-form-register .col-12.mt-4 .col-6 {
    flex: 1 1 100%;
    width: 100%;
  }
  .ccb-reg-modal .js-form-register .btn-block { width: 100%; }
}
