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

:root {
  --primary: #44bb14;
  --primary-dark: #2f8a0c;
  --primary-light: #eafbe2;
  --ink: #16241a;
  --muted: #6b7a70;
  --border: #e3e8e4;
  --surface: #ffffff;
  --danger: #e5484d;
}

* {
  box-sizing: border-box;
}

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

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

/* ----------------------------- Shell layout ----------------------------- */

.auth-shell {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

/* -------------------------- Left brand panel ---------------------------- */

.auth-brand-panel {
  position: relative;
  flex: 0 0 44%;
  max-width: 44%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 56px 56px;
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.12), transparent 45%),
    linear-gradient(155deg, #0f2d10 0%, #1c5c14 45%, #44bb14 100%);
  color: #fff;
}

.auth-brand-glow {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(420px circle at 80% 10%, rgba(255, 255, 255, 0.18), transparent 60%),
    radial-gradient(380px circle at 10% 90%, rgba(255, 255, 255, 0.12), transparent 60%);
  pointer-events: none;
}

.auth-brand-content {
  position: relative;
  z-index: 1;
}

.auth-brand-logo {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 18px;
  border-radius: 14px;
  margin-bottom: 56px;
}

.auth-brand-logo img {
  max-height: 36px;
  width: auto;
  display: block;
}

.auth-brand-title {
  font-size: 40px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0 0 18px;
  color: #fff;
}

.auth-brand-subtitle {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  max-width: 380px;
  margin: 0 0 40px;
}

.auth-brand-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-brand-points li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.auth-brand-points i {
  flex: 0 0 36px;
  height: 36px;
  width: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  font-size: 15px;
}

.auth-brand-footer {
  position: relative;
  z-index: 1;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
}

/* --------------------------- Right form panel --------------------------- */

.auth-form-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
  background: var(--surface);
}

.auth-form-panel-inner {
  width: 100%;
  max-width: 440px;
  animation: authFadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

.auth-mobile-logo {
  display: none;
  margin-bottom: 28px;
}

.auth-mobile-logo img {
  max-height: 40px;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--ink);
  font-weight: 700;
  margin-top: 0;
}

.welcome_inner_content {
  text-align: left;
  margin-bottom: 32px;
}

.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(68, 187, 20, 0.25);
}

.btn-primary:hover,
.btn-style:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(68, 187, 20, 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: 991px) {
  .auth-brand-panel {
    display: none;
  }

  .auth-form-panel {
    padding: 40px 24px;
  }

  .auth-mobile-logo {
    display: block;
    text-align: center;
  }

  .welcome_inner_content {
    text-align: center;
  }

  .signup {
    text-align: left;
  }
}

@media (max-width: 576px) {
  .auth-form-panel {
    padding: 32px 18px;
  }

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