/* =============================================
   PetsClub Registration & Login CSS
   ============================================= */

/* ─── AUTH LAYOUT ─── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
}
.auth-left {
  flex: 0 0 45%;
  background: linear-gradient(135deg, #1B4F72 0%, #0E2F44 60%, #0a1628 100%);
  color: #fff;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.auth-left::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212,172,13,.12) 0%, transparent 70%);
  border-radius: 50%;
}
.auth-left::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(46,134,193,.1) 0%, transparent 70%);
  border-radius: 50%;
}
.auth-left .auth-brand {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}
.auth-left .auth-brand span { color: var(--pc-gold); }
.auth-left h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.auth-left h2 span { color: var(--pc-gold); }
.auth-left p { opacity: .8; font-size: 1.05rem; line-height: 1.6; position: relative; z-index: 1; }
.auth-left .auth-features {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}
.auth-left .auth-features li {
  padding: .5rem 0;
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .95rem;
}
.auth-left .auth-features li i {
  color: var(--pc-gold);
  width: 20px;
  text-align: center;
}
.auth-left .auth-promo {
  margin-top: 2rem;
  padding: 1.25rem;
  background: rgba(212,172,13,.12);
  border: 1px solid rgba(212,172,13,.25);
  border-radius: .75rem;
  position: relative;
  z-index: 1;
}
.auth-left .auth-promo .promo-price {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pc-gold);
}
.auth-left .auth-promo .promo-old {
  text-decoration: line-through;
  opacity: .5;
  font-size: .9rem;
}

.auth-right {
  flex: 1;
  background: var(--pc-gray-light);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
}
.auth-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 10px 40px rgba(0,0,0,.08);
  width: 100%;
  max-width: 520px;
  overflow: hidden;
}
.auth-card-body { padding: 2rem; }

/* ─── WIZARD STEPS ─── */
.wizard-steps {
  display: flex;
  background: var(--pc-gray-light);
  padding: .75rem 2rem;
  gap: 0;
}
.wizard-step {
  flex: 1;
  text-align: center;
  position: relative;
  padding: .5rem 0;
}
.wizard-step::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -20%;
  width: 40%;
  height: 2px;
  background: var(--pc-gray);
  z-index: 0;
}
.wizard-step:last-child::after { display: none; }
.wizard-step .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--pc-gray);
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
  margin-bottom: .25rem;
  position: relative;
  z-index: 1;
  transition: all .3s;
}
.wizard-step .step-label {
  display: block;
  font-size: .7rem;
  color: var(--pc-gray);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.wizard-step.active .step-number {
  background: var(--pc-blue);
  box-shadow: 0 0 0 4px rgba(27,79,114,.15);
}
.wizard-step.active .step-label { color: var(--pc-blue); font-weight: 600; }
.wizard-step.done .step-number {
  background: var(--pc-green, #27AE60);
}
.wizard-step.done .step-label { color: var(--pc-green, #27AE60); }
.wizard-step.done::after { background: var(--pc-green, #27AE60); }

/* ─── GOOGLE BUTTON ─── */
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  width: 100%;
  padding: .7rem 1rem;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 2rem;
  color: #3c4043;
  font-weight: 500;
  font-size: .95rem;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}
.btn-google:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  border-color: #c0c0c0;
  color: #3c4043;
}
.btn-google:active { background: #f8f9fa; }
.btn-google svg { flex-shrink: 0; }

/* ─── DIVIDER ─── */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.25rem 0;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e0e0e0;
}
.auth-divider span {
  font-size: .8rem;
  color: var(--pc-gray-dark);
  font-weight: 500;
}

/* ─── TYPE SELECTOR ─── */
.type-selector {
  display: flex;
  gap: .5rem;
  margin-bottom: 1.5rem;
}
.type-selector .type-btn {
  flex: 1;
  padding: 1rem;
  text-align: center;
  border: 2px solid var(--pc-gray-light);
  border-radius: .75rem;
  cursor: pointer;
  transition: all .3s;
  text-decoration: none;
  color: var(--pc-dark);
}
.type-selector .type-btn:hover {
  border-color: var(--pc-blue-light);
  background: rgba(46,134,193,.03);
}
.type-selector .type-btn.active {
  border-color: var(--pc-blue);
  background: rgba(27,79,114,.05);
  box-shadow: 0 0 0 3px rgba(27,79,114,.1);
}
.type-selector .type-btn i {
  display: block;
  font-size: 1.5rem;
  margin-bottom: .35rem;
  color: var(--pc-blue);
}
.type-selector .type-btn .type-label {
  font-weight: 600;
  font-size: .85rem;
}
.type-selector .type-btn .type-desc {
  font-size: .72rem;
  color: var(--pc-gray-dark);
  margin-top: .1rem;
}

/* ─── PLAN SELECTOR ─── */
.plan-select-card {
  border: 2px solid var(--pc-gray-light);
  border-radius: .75rem;
  padding: 1rem;
  cursor: pointer;
  transition: all .3s;
  position: relative;
}
.plan-select-card:hover { border-color: var(--pc-blue-light); }
.plan-select-card.selected {
  border-color: var(--pc-blue);
  background: rgba(27,79,114,.03);
  box-shadow: 0 0 0 3px rgba(27,79,114,.1);
}
.plan-select-card .plan-check {
  position: absolute;
  top: .75rem;
  right: .75rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--pc-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s;
}
.plan-select-card.selected .plan-check {
  background: var(--pc-blue);
  border-color: var(--pc-blue);
  color: #fff;
}
.plan-select-card.recommended {
  border-color: var(--pc-gold);
}
.plan-select-card.recommended .plan-rec-badge {
  position: absolute;
  top: -.6rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--pc-gold);
  color: var(--pc-blue-dark);
  padding: .1rem .6rem;
  border-radius: 1rem;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* ─── SUMMARY CARD ─── */
.summary-card {
  background: linear-gradient(135deg, #1B4F72 0%, #0E2F44 100%);
  color: #fff;
  border-radius: .75rem;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}
.summary-card::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(212,172,13,.15) 0%, transparent 70%);
  border-radius: 50%;
}
.summary-card .summary-line {
  display: flex;
  justify-content: space-between;
  padding: .4rem 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  font-size: .9rem;
}
.summary-card .summary-line:last-child { border-bottom: none; }
.summary-card .summary-total {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--pc-gold);
}

/* ─── Google pre-fill banner ─── */
.google-prefill {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
  border: 1px solid #c8e6c9;
  border-radius: .75rem;
  margin-bottom: 1rem;
}
.google-prefill img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #4caf50;
}

/* ─── PASSWORD STRENGTH ─── */
.pwd-strength {
  display: flex;
  gap: 3px;
  margin-top: .35rem;
}
.pwd-strength .bar {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: #e0e0e0;
  transition: background .3s;
}
.pwd-strength.weak .bar:nth-child(1) { background: #e74c3c; }
.pwd-strength.medium .bar:nth-child(1),
.pwd-strength.medium .bar:nth-child(2) { background: #f39c12; }
.pwd-strength.strong .bar:nth-child(1),
.pwd-strength.strong .bar:nth-child(2),
.pwd-strength.strong .bar:nth-child(3) { background: #27ae60; }
.pwd-strength.very-strong .bar { background: #27ae60; }

/* ─── RESPONSIVE ─── */
@media (max-width: 991.98px) {
  .auth-left { display: none; }
  .auth-right { padding: 1rem; }
}
@media (max-width: 575.98px) {
  .auth-card-body { padding: 1.25rem; }
  .wizard-steps { padding: .5rem 1rem; }
  .type-selector { flex-direction: column; }
}
