/* ── Main ── */
.auth-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px 64px;
  background: #fff;
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}

/* ── Auth Card ── */
.auth-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  max-width: 860px;
  min-height: 460px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  background: #fff;
}

/* ── Left: foto interior ── */
.auth-sidebar {
  width: 45%;
  flex-shrink: 0;
  height: auto;
  background-image: url('../img/register_login.png');
  background-size: 199%;
  background-position: -125px center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* ── Right: Form ── */
.auth-form-side {
  flex: 1;
  background: #fff;
  padding: 36px 44px 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.auth-form-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-logo {
  font-family: 'Vidaloka', serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #484848;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 8px;
}
.auth-logo span { color: #6A87A1; }

.auth-title {
  font-family: 'Volkhov', serif;
  font-size: 16px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 16px;
}
.auth-title span { color: #6A87A1; }
.auth-title .sewa {
  color: #484848;
}

.social-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 16px;
  border: 1.5px solid #6A87A1;
  border-radius: 7px;
  background: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: background .15s, border-color .15s;
  margin-bottom: 14px;
}
.social-btn:hover { background: #f5f5f5; border-color: #5b7891; }

.auth-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 12px;
  color: #838383;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 14px;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  width: 24px;
  height: 2.5px;
  background: #838383;
}

/* Fields */
.auth-field { margin-bottom: 10px; }

.auth-field input {
  width: 100%;
  border: none;
  border-bottom: 1.5px solid #9D9D9D;
  padding: 8px 0 5px;
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 300;
  color: #555;
  background: transparent;
  outline: none;
  transition: border-color .2s;
}
.auth-field input::placeholder { color: #9D9D9D; font-weight: 300; }
.auth-field input:focus { border-bottom-color: #9D9D9D; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.forgot-link {
  display: block;
  text-align: right;
  font-size: 11px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #6A87A1;
  text-decoration: none;
  margin-top: 6px;
}
.forgot-link:hover { text-decoration: underline; }

.btn-auth {
  width: 100%;
  padding: 10px;
  background: #6A87A1;
  color: #fff;
  border: none;
  border-radius: 7px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  margin-top: 12px;
  transition: opacity .2s, box-shadow .2s;
  box-shadow: 0 8px 20px rgba(106, 135, 161, 0.18);
}
.btn-auth:hover { opacity: .88; box-shadow: 0 10px 24px rgba(106, 135, 161, 0.22); }
.btn-auth-outline {
  display: block;
  width: 100%;
  padding: 9px;
  margin-top: 8px;
  border: 1.5px solid #6A87A1;
  border-radius: 7px;
  background: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  color: #555;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.btn-auth-outline:hover { border-color: #5b7891; color: #6A87A1; }

.auth-links {
  margin-top: 12px;
  font-size: 10px;
  color: #000000;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}
.auth-links a {
  color: #6A87A1;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}
.auth-links a:hover { text-decoration: underline; }

.auth-footer {
  margin-top: 12px;
  font-size: 10.5px;
  color: #000000;
  text-align: right;
  font-family: 'Poppins', sans-serif;
}
.auth-footer a { color: #000000; text-decoration: underline; }

/* ── OTP specific ── */
.email-icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}
.email-icon-wrap .icon-circle {
  width: 52px;
  height: 52px;
  background: #6A87A1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.email-icon-wrap .icon-circle svg {
  width: 26px;
  height: 26px;
  color: #fff;
}

.auth-subtitle {
  font-size: 10px;
  color: #888;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 20px;
}

.otp-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 4px;
}
.otp-input {
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 6px;
  background: #E8E8E8;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  outline: none;
  transition: background .2s, box-shadow .2s;
}
.otp-input:focus {
  background: #d8e4ed;
  box-shadow: 0 0 0 2px #6A87A1;
}

/* Mobile */
@media (max-width: 640px) {
  .auth-sidebar { display: none; }
  .auth-form-side { padding: 28px 24px; }
  .field-row { grid-template-columns: 1fr; }
}
