/* ==========================================================================
   WINGPAL SIGNUP & ROLE SELECTION MODAL STYLES
   ========================================================================== */

.signup-page-body {
  background-color: #FFFFFF;
  margin: 0;
  padding: 0;
  font-family: var(--font-primary, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  color: #0F172A;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Nav adjustments */
.signup-header {
  border-bottom: 1px solid #E2E8F0;
  background-color: #FFFFFF;
}

.btn-login-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 22px;
  border: 1.5px solid #0D9488;
  color: #0D9488;
  background-color: #FFFFFF;
  border-radius: var(--radius-full, 9999px);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-login-outline:hover {
  background-color: #F0FDFA;
}

/* 2-Column Split Container */
.signup-split-layout {
  display: grid;
  grid-template-columns: 440px 1fr;
  flex: 1;
  min-height: calc(100vh - 72px);
  position: relative;
}

@media (max-width: 1024px) {
  .signup-split-layout {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   LEFT COLUMN: BRAND HERO & VISUAL
   -------------------------------------------------------------------------- */
.signup-hero-col {
  background: linear-gradient(180deg, #F0F9FF 0%, #E0F2FE 40%, #CCFBF1 100%);
  padding: 44px 0 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .signup-hero-col {
    display: none;
  }
}

.signup-hero-header-text {
  padding: 0 40px;
}

.signup-hero-title {
  font-size: 34px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.15;
  margin: 0 0 12px;
}

.signup-hero-title .text-orange {
  color: #EA580C;
}

.signup-hero-subtitle {
  font-size: 14.5px;
  color: #334155;
  line-height: 1.45;
  margin: 0 0 16px;
  max-width: 380px;
}

/* Image container */
.signup-hero-image-wrap {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 6px 0 auto;
}

.signup-hero-image {
  width: 100%;
  border-radius: 0;
  object-fit: cover;
}

/* Bottom 3 Feature Pills */
.signup-features-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0 24px;
  margin-top: 16px;
  position: relative;
  z-index: 2;
}

.signup-feature-pill {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 12px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.signup-feature-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background-color: #FFFFFF;
  border: 1px solid #CCFBF1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0D9488;
}

.signup-feature-text {
  font-size: 11.5px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.25;
}

/* Decorative wave bottom */
.signup-bottom-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  pointer-events: none;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   RIGHT COLUMN: CREATE ACCOUNT FORM
   -------------------------------------------------------------------------- */
.signup-form-col {
  padding: 40px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 580px;
  margin: 0 auto;
  width: 100%;
}

@media (max-width: 640px) {
  .signup-form-col {
    padding: 24px 20px;
  }
}

.signup-form-title {
  font-size: 28px;
  font-weight: 800;
  color: #0F172A;
  text-align: center;
  margin: 0 0 6px;
}

.signup-form-subtitle {
  font-size: 13.5px;
  color: #64748B;
  text-align: center;
  margin: 0 0 24px;
}

/* Social Buttons */
.signup-social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.btn-social-auth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  background-color: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  color: #0F172A;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-social-auth:hover {
  background-color: #F8FAFC;
  border-color: #CBD5E1;
}

.social-icon-svg {
  width: 18px;
  height: 18px;
}

/* OR divider */
.signup-or-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 20px;
}

.signup-or-divider::before,
.signup-or-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: #E2E8F0;
}

.signup-or-text {
  font-size: 13px;
  color: #94A3B8;
  font-weight: 600;
}

/* Form Groups */
.signup-form-group {
  margin-bottom: 16px;
}

.signup-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 6px;
}

.signup-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.signup-input-icon {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: #94A3B8;
  pointer-events: none;
}

.signup-input-icon-right {
  position: absolute;
  right: 14px;
  width: 18px;
  height: 18px;
  color: #94A3B8;
  cursor: pointer;
}

.signup-input-field {
  width: 100%;
  padding: 11px 40px 11px 42px;
  border: 1.5px solid #CBD5E1;
  border-radius: 12px;
  font-size: 13.5px;
  color: #0F172A;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  font-family: inherit;
}

.signup-input-field:focus {
  border-color: #0D9488;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}

/* Role Selector Section ("What brings you to WingPal?") */
.role-select-section {
  margin: 20px 0 22px;
}

.role-select-title {
  font-size: 14px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 12px;
}

.role-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

@media (max-width: 680px) {
  .role-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 400px) {
  .role-cards-grid {
    grid-template-columns: 1fr;
  }
}

.role-choice-card {
  position: relative;
  background-color: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 14px 6px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.role-choice-card:hover {
  border-color: #0D9488;
  background-color: #F8FAFC;
  transform: translateY(-2px);
}

.role-choice-card.selected {
  background-color: #F0FDFA;
  border-color: #0D9488;
  box-shadow: 0 0 0 1.5px #0D9488;
}

.role-radio-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #CBD5E1;
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.role-choice-card.selected .role-radio-badge {
  background-color: #0D9488;
  border-color: #0D9488;
  color: #FFFFFF;
}

.role-icon-wrap {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.role-icon-wrap svg {
  width: 26px;
  height: 26px;
}

.role-card-heading {
  font-size: 13px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 4px;
  line-height: 1.25;
}

.role-card-desc {
  font-size: 10.5px;
  color: #64748B;
  line-height: 1.35;
  margin: 0;
}

/* Submit CTA */
.btn-create-account {
  width: 100%;
  padding: 13px;
  background-color: #0D9488;
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-full, 9999px);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.25);
  margin-bottom: 14px;
}

.btn-create-account:hover {
  background-color: #0F766E;
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.35);
}

.signup-terms-text {
  font-size: 11.5px;
  color: #64748B;
  text-align: center;
  line-height: 1.45;
  margin: 0 0 16px;
}

.signup-terms-text a {
  color: #0D9488;
  text-decoration: underline;
  font-weight: 600;
}

.signup-footer-login {
  font-size: 13px;
  color: #64748B;
  text-align: center;
  margin: 0;
}

.signup-footer-login a {
  color: #0D9488;
  font-weight: 700;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   ROLE SELECTION MODAL ("WHAT BRINGS YOU TO WINGPAL?")
   -------------------------------------------------------------------------- */
.role-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.role-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.role-modal-dialog {
  background-color: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.35);
  width: 100%;
  max-width: 820px;
  padding: 34px 36px 30px;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.role-modal-backdrop.active .role-modal-dialog {
  transform: scale(1);
}

.role-modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #E2E8F0;
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748B;
  cursor: pointer;
  transition: all 0.15s ease;
}

.role-modal-close-btn:hover {
  background-color: #F1F5F9;
  color: #0F172A;
}

.role-modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.role-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  background-color: #F0FDFA;
  color: #0D9488;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}

.role-modal-title {
  font-size: 24px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 6px;
}

.role-modal-subtitle {
  font-size: 13.5px;
  color: #64748B;
  margin: 0;
  line-height: 1.4;
}

.modal-role-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .modal-role-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 440px) {
  .modal-role-cards-grid {
    grid-template-columns: 1fr;
  }
}

.modal-role-card {
  position: relative;
  background-color: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-radius: 16px;
  padding: 18px 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-role-card:hover {
  border-color: #0D9488;
  background-color: #F8FAFC;
  transform: translateY(-3px);
}

.modal-role-card.selected {
  background-color: #F0FDFA;
  border-color: #0D9488;
  box-shadow: 0 4px 20px rgba(13, 148, 136, 0.15);
}

.modal-role-check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid #CBD5E1;
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-role-card.selected .modal-role-check {
  background-color: #0D9488;
  border-color: #0D9488;
  color: #FFFFFF;
}

.modal-role-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-role-icon svg {
  width: 28px;
  height: 28px;
}

.modal-role-heading {
  font-size: 14px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 4px;
  line-height: 1.25;
}

.modal-role-desc {
  font-size: 11px;
  color: #64748B;
  line-height: 1.35;
  margin: 0 0 8px;
}

.modal-role-tag {
  display: inline-block;
  padding: 3px 8px;
  background-color: #F1F5F9;
  color: #475569;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 700;
}

.modal-role-card.selected .modal-role-tag {
  background-color: #CCFBF1;
  color: #0F766E;
}

.btn-modal-continue {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px;
  background-color: #0D9488;
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-full, 9999px);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.25);
}

.btn-modal-continue:hover {
  background-color: #0F766E;
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.35);
}

.role-modal-hint {
  font-size: 12px;
  color: #94A3B8;
  text-align: center;
  margin: 12px 0 0;
}
