/* ==========================================================================
   Auth — Split Screen Design
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Sora:wght@600;700;800&display=swap");

:root {
  --primary: #2E7D32;
  --primary-dark: #1B5E20;
  --primary-light: #E4F0E2;
  --ink: #14301C;
  --muted: #6b7a70;
  --border: #e3e8e4;
  --surface: #ffffff;
  --danger: #e5484d;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
}

body {
  background: var(--surface);
}

/* --------------------------- Centered card layout ------------------------ */

.auth-page {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: safe center;
  padding: 34px 18px;
  background:
    radial-gradient(circle at 12% 18%, rgba(184, 150, 90, 0.20), transparent 40%),
    radial-gradient(circle at 88% 84%, rgba(76, 175, 80, 0.22), transparent 45%),
    linear-gradient(150deg, #0C2A1E 0%, #14421F 45%, #1B5E20 100%);
}

/* subtle diagonal weave + top glow behind the card */
.auth-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(620px circle at 50% -12%, rgba(255, 255, 255, 0.07), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0 2px, transparent 2px 22px);
}

.auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  background: var(--surface);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 60px -22px rgba(0, 0, 0, 0.5);
  animation: authFadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Green header band with the logo */
.auth-card-top {
  position: relative;
  text-align: center;
  padding: 34px 28px 26px;
  background:
    radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.14), transparent 55%),
    linear-gradient(135deg, #1B5E20 0%, #0C2A1E 100%);
  color: #fff;
}

.auth-card-top::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 62px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #D9C089, #B8965A);
}

.auth-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 78px;
  width: 78px;
  border-radius: 20px;
  background: #fff;
  padding: 10px;
  margin-bottom: 14px;
  box-shadow: 0 12px 26px -8px rgba(0, 0, 0, 0.45);
}

.auth-logo img {
  max-height: 100%;
  max-width: 100%;
  display: block;
}

.auth-brandname {
  font-family: "Sora", "Inter", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #fff;
}

.auth-tag {
  font-size: 11.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #E6D3A3;
  margin-top: 5px;
  font-weight: 500;
}

.auth-card-body {
  padding: 30px 30px 32px;
}

@keyframes authFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-foot {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

.auth-foot a {
  color: rgba(255, 255, 255, 0.85);
}

/* ------------------------------ Headings -------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--ink);
  font-family: "Sora", "Inter", sans-serif;
  font-weight: 700;
  margin-top: 0;
}

.welcome_inner_content {
  text-align: center;
  margin-bottom: 26px;
}

.welcome_inner_content a {
  display: none;
  /* logo already shown in brand panel / mobile header */
}

.welcome_inner_content h4 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
  color: var(--ink);
}

.welcome_inner_content p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ------------------------------ Form fields ------------------------------ */

.persona_detail_data {
  width: 100%;
}

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

label,
.input__label {
  font-weight: 600;
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 7px;
  display: block;
}

.form-control,
.login_text_field_bg,
.input-style {
  height: 48px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  padding: 10px 16px;
  font-size: 14.5px;
  background-color: #fafbfa;
  transition: all 0.2s ease;
  width: 100%;
  color: var(--ink);
}

textarea.form-control {
  height: auto;
}

.form-control:focus {
  background-color: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
  outline: none;
}

.form-control::placeholder {
  color: #aab3ac;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7a70' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}

/* Field with leading icon */
.field-icon-wrap {
  position: relative;
}

.field-icon-wrap i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #9aa5a0;
  font-size: 15px;
  pointer-events: none;
}

.field-icon-wrap .form-control {
  padding-left: 44px;
}

.field-icon-wrap .toggle-password {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9aa5a0;
  cursor: pointer;
  font-size: 14.5px;
}

/* Checkbox / remember me */
.check-remember,
.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.form-check-input.checkbox {
  width: 17px;
  height: 17px;
  accent-color: var(--primary);
  cursor: pointer;
}

.form-check-label.checkmark {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 0;
  cursor: pointer;
}

/* Zone pill radios (register) */
.zone-options {
  display: flex;
  gap: 10px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.zone-pill {
  flex: 1;
  min-width: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: #fafbfa;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  margin-bottom: 0;
  transition: all 0.15s ease;
}

.zone-pill input[type="radio"] {
  accent-color: var(--primary);
  margin: 0;
}

.zone-pill:has(input:checked) {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-dark);
}

.terms-check {
  font-size: 13.5px;
  color: var(--muted);
}

.terms-check input[type="checkbox"] {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
}

/* ------------------------------- Buttons --------------------------------- */

.btn {
  display: inline-block;
  font-weight: 700;
  text-align: center;
  vertical-align: middle;
  user-select: none;
  padding: 0.8rem 1.5rem;
  font-size: 15px;
  line-height: 1.5;
  border-radius: 12px;
  border: none;
  transition: all 0.18s ease-in-out;
}

.btn-primary,
.btn-style {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: var(--primary);
  color: #fff;
  width: 100%;
  box-shadow: 0 8px 18px rgba(46,125,50, 0.25);
}

.btn-primary:hover,
.btn-style:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(46,125,50, 0.32);
  color: #fff;
}

.btn-primary:active,
.btn-style:active {
  transform: translateY(0);
}

/* ------------------------------- Footer text ----------------------------- */

.signup {
  font-size: 14px;
  color: var(--muted);
  width: 100%;
  text-align: center;
}

.signuplink {
  font-weight: 700;
  color: var(--primary-dark);
}

/* --------------------------------- Alerts -------------------------------- */

.alert {
  border-radius: 12px;
  font-size: 13.5px;
  border: none;
  padding: 14px 16px;
  margin-bottom: 20px;
}

.alert-warning {
  background-color: #fff6e0;
  color: #8a6300;
}

.alert-danger {
  background-color: #fdeaea;
  color: #b3262b;
}

.alert-success {
  background-color: var(--primary-light);
  color: var(--primary-dark);
}

.help-block,
.text-danger,
small.text-danger {
  color: var(--danger);
  font-size: 12px;
  margin-top: 5px;
  display: block;
}

.text-center {
  text-align: center;
}

/* ----------------------------- Misc / inherited -------------------------- */

.inner_detail_data {
  width: 100%;
}

.date_welcome_letter_inner p {
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed #eee;
  padding-bottom: 5px;
}

.date_welcome_letter_inner p span {
  color: var(--ink);
  font-weight: 600;
}

a {
  color: var(--primary-dark);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* --------------------------------- Responsive ----------------------------- */

@media (max-width: 480px) {
  .auth-page {
    padding: 20px 12px;
  }

  .auth-card-body {
    padding: 26px 22px 28px;
  }

  .auth-card-top {
    padding: 28px 22px 22px;
  }

  .welcome_inner_content h4 {
    font-size: 23px;
  }
}
