/* ==========================================
   KRESTAPAY REGISTER PAGE CSS
========================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  background: linear-gradient(135deg, #EA8534 0%, #c0392b 50%, #A0111A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  overflow-x: hidden;
}

body::before, body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
body::before {
  width: 500px; height: 500px;
  background: rgba(255,255,255,0.06);
  top: -150px; left: -150px;
}
body::after {
  width: 400px; height: 400px;
  background: rgba(0,0,0,0.08);
  bottom: -100px; right: -100px;
}

/* ==========================================
   MAIN CARD
========================================== */

.reg-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1020px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 32px 80px rgba(0,0,0,0.25);
}

/* ==========================================
   LEFT SIDE
========================================== */

.reg-left {
  background: rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 36px;
  border-right: 1px solid rgba(255,255,255,0.15);
}

.reg-brand {
  text-align: center;
  margin-bottom: 36px;
}

.reg-brand img {
  height: 64px;
  width: auto;
  filter: brightness(88);
  margin-bottom: 14px;
}

.reg-brand h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}

.reg-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  margin-top: 6px;
  line-height: 1.6;
}

.reg-illustration {
  width: 100%;
  max-width: 260px;
  margin-bottom: 32px;
}

.reg-illustration svg { width: 100%; height: auto; }

.reg-steps {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.reg-step {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 500;
}

.reg-step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.20);
  border: 1.5px solid rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ==========================================
   RIGHT SIDE
========================================== */

.reg-right {
  background: rgba(255,255,255,0.95);
  padding: 44px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.reg-form-header {
  margin-bottom: 28px;
}

.reg-form-header h1 {
  font-size: 1.9rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -1px;
}

.reg-form-header p {
  color: #6B7280;
  font-size: 0.92rem;
  margin-top: 6px;
}

/* ==========================================
   FORM
========================================== */

.reg-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.reg-form-group {
  margin-bottom: 18px;
}

.reg-form-group label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 7px;
}

.reg-input-wrap {
  position: relative;
}

.reg-input-wrap i.reg-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #9CA3AF;
  font-size: 0.9rem;
  pointer-events: none;
}

.reg-input-wrap input {
  width: 100%;
  height: 50px;
  padding: 0 15px 0 42px;
  border: 1.5px solid #E5E7EB;
  border-radius: 12px;
  font-size: 0.93rem;
  font-family: 'Inter', sans-serif;
  color: #111827;
  background: #F9FAFB;
  transition: all 0.3s ease;
  outline: none;
}

.reg-input-wrap input:focus {
  border-color: #EA8534;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(234,133,52,0.10);
}

.reg-input-wrap input::placeholder { color: #9CA3AF; }

.reg-eye-btn {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #9CA3AF;
  font-size: 0.9rem;
  padding: 4px;
  transition: color 0.2s;
}
.reg-eye-btn:hover { color: #EA8534; }

/* Terms checkbox */
.reg-terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 0.85rem;
  color: #6B7280;
  line-height: 1.5;
}

.reg-terms input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: #EA8534;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}

.reg-terms a {
  color: #EA8534;
  font-weight: 600;
  text-decoration: none;
}
.reg-terms a:hover { color: #A0111A; }

/* Submit button */
.reg-btn {
  width: 100%;
  height: 54px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #EA8534, #A0111A);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(234,133,52,0.30);
}

.reg-btn:hover {
  background: linear-gradient(135deg, #A0111A, #EA8534);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(160,17,26,0.35);
}

.reg-btn:active { transform: translateY(0); }

/* Login link */
.reg-login-link {
  text-align: center;
  font-size: 0.9rem;
  color: #6B7280;
  margin-top: 20px;
}

.reg-login-link a {
  color: #EA8534;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
}
.reg-login-link a:hover { color: #A0111A; }

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 860px) {
  .reg-card {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
  .reg-left { display: none; }
  .reg-right { padding: 36px 28px; }
}

@media (max-width: 540px) {
  .reg-form-row { grid-template-columns: 1fr; gap: 0; }
  .reg-right { padding: 30px 20px; }
  .reg-form-header h1 { font-size: 1.6rem; }
}
