/* ════════════════════════════════
   SECTION
════════════════════════════════ */
.reg-section {
  background: linear-gradient(135deg, #e6f4f1 0%, #f0f4f8 50%, #ede8f5 100%);
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  padding: 60px 0;
}

/* ════════════════════════════════
   CARD
════════════════════════════════ */
.reg-card {
  display: flex;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(6,32,19,.13), 0 4px 24px rgba(0,0,0,.06);
}

/* ════════════════════════════════
   LEFT PANEL
════════════════════════════════ */
.reg-left {
  width: 380px;
  flex-shrink: 0;
  background: linear-gradient(160deg, #051a10 0%, #083320 50%, #0c4a2e 100%);
  position: relative;
  overflow: hidden;
}
.reg-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.reg-left::after {
  content: '';
  position: absolute;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(10,171,142,.2) 0%, transparent 70%);
  bottom: -100px; right: -100px;
  pointer-events: none;
}
/* second decorative blob top-left */
.reg-left-blob {
  position: absolute;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(108,78,203,.15) 0%, transparent 70%);
  top: -70px; left: -70px;
  pointer-events: none;
}

.reg-left-inner {
  position: relative;
  z-index: 1;
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Brand */
.reg-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 44px;
}
.reg-brand-icon {
  width: 42px; height: 42px;
  background: rgba(10,171,142,.2);
  border: 1.5px solid rgba(10,171,142,.3);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #6ee7b7; font-size: 17px;
}
.reg-brand-name {
  font-size: 13px; font-weight: 800;
  color: #fff; letter-spacing: .2px; line-height: 1.3;
  max-width: 140px;
}

.reg-left-title {
  font-size: 25px; font-weight: 800; color: #fff;
  line-height: 1.3; margin-bottom: 12px;
}
.reg-left-sub {
  font-size: 13.5px; color: rgba(255,255,255,.5);
  line-height: 1.7; margin-bottom: 40px;
}

/* Perks */
.reg-perks {
  list-style: none; padding: 0; margin: 0 0 auto;
  display: flex; flex-direction: column; gap: 18px;
}
.reg-perks li {
  display: flex; align-items: flex-start; gap: 14px;
}
.reg-perk-icon {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: #6ee7b7; font-size: 14px;
}
.reg-perk-title {
  font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 3px;
}
.reg-perk-desc {
  font-size: 12px; color: rgba(255,255,255,.4); line-height: 1.5;
}

/* Footer */
.reg-left-footer {
  margin-top: 36px;
  font-size: 12.5px; color: rgba(255,255,255,.38);
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 20px;
}
.reg-left-footer a {
  color: #6ee7b7; font-weight: 700; text-decoration: none; margin-left: 4px;
}
.reg-left-footer a:hover { text-decoration: underline; }

/* ════════════════════════════════
   RIGHT PANEL
════════════════════════════════ */
.reg-right {
  flex: 1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 52px 44px;
}

.reg-form-wrap { width: 100%; max-width: 560px; }

/* Form header */
.reg-form-header {
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1.5px solid #f3f4f6;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.reg-form-header-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: linear-gradient(135deg, #0aab8e22, #0e649422);
  border: 1.5px solid #0aab8e33;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: #0aab8e;
  margin-top: 2px;
}
.reg-form-title  { font-size: 22px; font-weight: 800; color: #1a1a2e; margin-bottom: 3px; }
.reg-form-sub    { font-size: 13px; color: #9ca3af; margin: 0; }

/* Alert */
.reg-alert {
  display: flex; align-items: center; gap: 10px;
  background: #fff5f5; border: 1px solid #fecaca;
  border-left: 3px solid #ef4444;
  border-radius: 10px; padding: 11px 14px;
  font-size: 13px; color: #ef4444; font-weight: 600;
  margin-bottom: 22px;
}

/* ════════════════════════════════
   FORM GRID
════════════════════════════════ */
.reg-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.reg-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}
.reg-row .reg-field { margin-bottom: 0; }

/* Labels */
.reg-label {
  font-size: 11px; font-weight: 700;
  color: #6b7280; text-transform: uppercase; letter-spacing: .5px;
  margin-bottom: 7px; display: flex; align-items: center; gap: 5px;
}
.reg-label-icon { color: #0aab8e; font-size: 10px; }

/* ════════════════════════════════
   INPUTS
════════════════════════════════ */
.reg-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.reg-input-prefix {
  position: absolute;
  left: 13px;
  color: #0aab8e;
  font-size: 13px;
  pointer-events: none;
  z-index: 1;
}
.reg-input-wrap .reg-input { padding-left: 38px; }

.reg-input {
  width: 100%;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 13.5px; color: #1a1a2e;
  background: #f8fafc;
  outline: none;
  transition: border-color .18s, box-shadow .18s, background .18s;
  font-family: inherit;
  height: 44px;
}
.reg-input:focus {
  border-color: #0aab8e;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(10,171,142,.1);
}
.reg-input.is-invalid { border-color: #ef4444; background: #fff9f9; }
.reg-input.is-invalid:focus { box-shadow: 0 0 0 3px rgba(239,68,68,.1); }

/* Select */
.reg-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

/* Select wrapper with icon + chevron */
.reg-select-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.reg-select-icon {
  position: absolute;
  left: 13px;
  color: #0aab8e;
  font-size: 13px;
  pointer-events: none;
  z-index: 1;
}
.reg-select-arrow {
  position: absolute;
  right: 13px;
  color: #9ca3af;
  font-size: 11px;
  pointer-events: none;
}
.reg-select-padded {
  padding-left: 38px;
  padding-right: 36px;
}

/* Password */
.reg-pass-wrap { position: relative; display: flex; align-items: center; }
.reg-pass-wrap .reg-input { padding-left: 38px; padding-right: 40px; }
.reg-pass-prefix {
  position: absolute;
  left: 13px;
  color: #0aab8e;
  font-size: 13px;
  pointer-events: none;
}
.reg-eye {
  position: absolute; right: 12px;
  background: none; border: none; padding: 0;
  color: #9ca3af; font-size: 14px; cursor: pointer;
  transition: color .15s; line-height: 1;
}
.reg-eye:hover { color: #0aab8e; }

/* Field error */
.reg-error {
  display: flex; align-items: center; gap: 5px;
  font-size: 11px; color: #ef4444; font-weight: 600; margin-top: 5px;
}

/* ════════════════════════════════
   SUBMIT
════════════════════════════════ */
.reg-submit-btn {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  background: linear-gradient(135deg, #0aab8e 0%, #0a8c74 50%, #0e6494 100%);
  color: #fff; border: none; border-radius: 12px;
  padding: 14px 24px; font-size: 15px; font-weight: 700;
  cursor: pointer; letter-spacing: .2px;
  box-shadow: 0 4px 18px rgba(10,171,142,.3);
  transition: opacity .2s, transform .1s, box-shadow .2s;
  margin-top: 6px;
}
.reg-submit-btn:hover  { opacity: .92; box-shadow: 0 6px 24px rgba(10,171,142,.4); }
.reg-submit-btn:active { transform: scale(.985); }

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width: 900px) {
  .reg-left { width: 300px; }
  .reg-left-inner { padding: 36px 26px; }
  .reg-left-title { font-size: 21px; }
  .reg-right { padding: 36px 28px; }
}

@media (max-width: 700px) {
  .reg-card { flex-direction: column; border-radius: 18px; }
  .reg-left { width: 100%; }
  .reg-left-inner { padding: 30px 22px; }
  .reg-perks { display: none; }
  .reg-left-footer { display: none; }
  .reg-right { padding: 32px 22px; }
  .reg-row { grid-template-columns: 1fr; gap: 0; }
  .reg-row .reg-field { margin-bottom: 14px; }
  .reg-section { padding: 24px 0 40px; align-items: flex-start; }
}

@media (max-width: 480px) {
  .reg-right { padding: 24px 16px; }
  .reg-form-title { font-size: 20px; }
}
