* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  height: 100%;
}

body {
  font-family: 'DM Sans', sans-serif;
  /* Deep slate-blue base — premium dark gradient */
  background: linear-gradient(135deg, #161c20 0%, #1e262c 45%, #334049 100%);
  overflow: hidden;
  position: relative;
  min-height: 100vh;
}

/* Animated background elements */
body::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(243, 106, 2, 0.30) 0%, rgba(243, 106, 2, 0.08) 45%, transparent 70%);
  border-radius: 50%;
  top: -200px; right: -200px;
  animation: float 20s infinite ease-in-out, pulseGlow 6s infinite ease-in-out;
}

body::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(51, 64, 73, 0.55) 0%, rgba(243, 106, 2, 0.12) 55%, transparent 75%);
  border-radius: 50%;
  bottom: -100px; left: -100px;
  animation: float 15s infinite ease-in-out reverse, pulseGlow 8s infinite ease-in-out;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30px, 30px); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

/* Top bar */
.header {
  position: relative;
  z-index: 10;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(51, 64, 73, 0.55);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(243, 106, 2, 0.25);
}

.logo {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 18px rgba(243, 106, 2, 0.35);
}

.help {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  font-weight: 500;
}

/* Main content */
.main {
  position: relative;
  z-index: 10;
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.card {
  background: #fff;
  border-radius: 24px;
  padding: 44px 48px;
  max-width: 520px;
  width: 100%;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.35),
    0 0 90px rgba(243, 106, 2, 0.10);
  border: 1px solid rgba(243, 106, 2, 0.15);
  animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Card header */
.card-header {
  text-align: left;
  margin-bottom: 32px;
}

.card-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 28px;
  font-weight: 400;
  color: #0F1111;
  margin-bottom: 0;
}

/* Form sections */
.form-group {
  margin-bottom: 20px;
}

/* Two fields side by side — height kam karne ke liye */
.form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 0;
}

.form-row .form-group {
  flex: 1;
  min-width: 0;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #0F1111;
  margin-bottom: 6px;
}

/* Mobile number with country code */
.mobile-input-wrapper {
  display: flex;
  gap: 8px;
}

.country-select {
  width: 80px;
  padding: 10px 8px;
  border: 1px solid #888C8C;
  border-radius: 4px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s;
}

.country-select:focus {
  outline: none;
  border-color: #f36a02;
  box-shadow: 0 0 0 3px rgba(243, 106, 2, 0.12);
}

.mobile-input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #888C8C;
  border-radius: 4px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
}

.mobile-input:focus {
  outline: none;
  border-color: #f36a02;
  box-shadow: 0 0 0 3px rgba(243, 106, 2, 0.12);
}

/* Regular input fields */
.input-field {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #888C8C;
  border-radius: 4px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
  background: #fff;
}

.input-field:focus {
  outline: none;
  border-color: #f36a02;
  box-shadow: 0 0 0 3px rgba(243, 106, 2, 0.12);
}

.input-field::placeholder {
  color: #999;
}

/* Info message — brand blue accent */
.info-message {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 20px;
  padding: 10px 12px;
  background: #EEF1F3;
  border-left: 3px solid #334049;
  border-radius: 4px;
}

.info-icon {
  width: 16px;
  height: 16px;
  background: #334049;
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-text {
  font-size: 12px;
  color: #0F1111;
  line-height: 1.5;
}

/* Help text */
.help-text {
  font-size: 12px;
  color: #565959;
  line-height: 1.5;
  margin-top: 12px;
  /*margin-bottom: 20px;*/
}

/* Primary button - brand orange */
.primary-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #f36a02 0%, #d45d02 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 10px;
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(243, 106, 2, 0.4);
}

.primary-btn:active {
  transform: translateY(0);
}

/* Divider */
.divider {
  position: relative;
  text-align: center;
  margin: 4px 0 !important;
}

.divider-text {
  font-size: 13px;
  font-weight: 700;
  color: #0F1111;
  background: #fff;
  padding: 0 10px;
  position: relative;
  z-index: 1;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, #e7e7e7, transparent);
  z-index: 0;
}

/* Sign in section */
.signin-section {
  text-align: center;
  padding-top: 2px;
  margin-bottom: 10px;
}

.signin-link {
  color: #334049;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.signin-link:hover {
  color: #f36a02;
  text-decoration: underline;
}

/* Terms text */
.terms-text {
  font-size: 11px;
  color: #565959;
  line-height: 1.5;
  text-align: left;
}

.terms-text a {
  color: #334049;
  text-decoration: none;
  font-weight: 600;
}

.terms-text a:hover {
  color: #f36a02;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 640px) {
  .card {
    padding: 32px 24px;
  }
  .header {
    padding: 16px 20px;
  }
  .mobile-input-wrapper {
    flex-direction: column;
  }
  .country-select {
    width: 100%;
  }
  .form-row {
    flex-direction: column;
    gap: 0;
  }
}
