/* ============================================================
   Krishi Network — Login / Signup Page Styles
   ============================================================ */

body {
  display: flex;
  min-height: 100vh;
  background: var(--green-deep);
  overflow: hidden;
}

/* ---- LEFT PANEL ---- */
.auth-left {
  flex: 1; min-height: 100vh;
  background: linear-gradient(155deg, var(--green-deep) 0%, #1d4b31 50%, #275c43 100%);
  display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start;
  padding: 60px 72px; position: relative; overflow: hidden;
}
.auth-left::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 12% 75%, rgba(232,190,90,0.13) 0%, transparent 48%),
    radial-gradient(circle at 88% 15%, rgba(77,179,126,0.16) 0%, transparent 44%);
}

.al-deco { position: absolute; border-radius: 50%; pointer-events: none; }
.al-deco1 { width: 440px; height: 440px; right: -110px; bottom: -130px; border: 65px solid rgba(255,255,255,0.04); }
.al-deco2 { width: 260px; height: 260px; left: -65px; top: -65px; border: 40px solid rgba(232,190,90,0.06); }
.al-deco3 { width: 140px; height: 140px; right: 80px; top: 35%; border: 2px solid rgba(77,179,126,0.15); }

.al-brand {
  position: relative; z-index: 1; margin-bottom: 54px;
  display: flex; align-items: center; gap: 13px; text-decoration: none;
}
.al-brand-logo {
  width: 52px; height: 52px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.2);
  transition: transform var(--t-base);
}
.al-brand:hover .al-brand-logo { transform: scale(1.05); }
.al-brand-name {
  font-family: var(--font-display); font-size: 1.4rem;
  font-weight: 700; color: var(--white); line-height: 1.1;
}
.al-brand-tag {
  display: block; font-size: 0.65rem; font-weight: 500;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--green-light);
}

.al-copy { position: relative; z-index: 1; }
.al-copy h1 {
  font-family: var(--font-display); font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 900; color: var(--white); line-height: 1.18; margin-bottom: 18px;
}
.al-copy h1 em { font-style: italic; color: var(--gold); }
.al-copy p {
  color: rgba(255,255,255,0.58); font-size: 1rem;
  line-height: 1.78; max-width: 360px; margin-bottom: 44px;
}
.al-stats { display: flex; gap: 38px; flex-wrap: wrap; }
.al-stat-num {
  font-family: var(--font-display); font-size: 1.9rem;
  font-weight: 700; color: var(--gold); line-height: 1;
}
.al-stat-lbl {
  font-size: 0.73rem; color: rgba(255,255,255,0.42);
  letter-spacing: 1px; text-transform: uppercase; margin-top: 4px;
}

.al-testimonial {
  position: relative; z-index: 1; margin-top: 52px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.11);
  border-radius: 16px; padding: 22px 24px; max-width: 380px;
}
.al-testimonial p {
  font-size: 0.9rem; color: rgba(255,255,255,0.7);
  line-height: 1.65; font-style: italic; margin-bottom: 14px;
}
.al-t-author { display: flex; align-items: center; gap: 10px; }
.al-t-av {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--gold); display: flex; align-items: center;
  justify-content: center; font-weight: 700; font-size: 0.85rem; color: var(--green-deep);
}
.al-t-name  { font-size: 0.85rem; color: var(--white); font-weight: 600; }
.al-t-role  { font-size: 0.72rem; color: rgba(255,255,255,0.43); }

/* ---- RIGHT PANEL ---- */
.auth-right {
  width: 500px; min-height: 100vh; flex-shrink: 0;
  background: var(--cream); display: flex;
  align-items: center; justify-content: center;
  padding: 40px 52px; overflow-y: auto;
}
.auth-form-wrap { width: 100%; }

/* Mode toggle */
.mode-toggle {
  display: flex; background: #e3eae3;
  border-radius: 14px; padding: 5px; margin-bottom: 28px;
}
.mode-btn {
  flex: 1; padding: 11px 8px; border-radius: 10px; border: none;
  background: transparent; font-family: var(--font-body);
  font-size: 0.9rem; font-weight: 600; cursor: pointer;
  color: var(--text-soft); transition: all var(--t-base);
}
.mode-btn.active {
  background: var(--white); color: var(--green-deep);
  box-shadow: 0 2px 12px rgba(0,0,0,0.09);
}

.auth-title {
  font-family: var(--font-display); font-size: 1.9rem;
  font-weight: 700; color: var(--green-deep); margin-bottom: 4px;
}
.auth-sub { font-size: 0.9rem; color: var(--text-soft); margin-bottom: 24px; }

/* Password strength */
.pw-strength { height: 4px; border-radius: 2px; background: #e8e8e8; margin-top: 6px; overflow: hidden; }
.pw-bar { height: 100%; width: 0; border-radius: 2px; transition: width 0.38s, background 0.38s; }
.pw-hint { font-size: 0.72rem; color: var(--text-soft); margin-top: 3px; }

/* Extras */
.remember-row {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px;
}
.remember-row label {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: var(--text-mid); cursor: pointer;
}
.remember-row input { accent-color: var(--green-mid); }
.forgot-link { font-size: 0.85rem; color: var(--green-mid); font-weight: 500; }
.forgot-link:hover { text-decoration: underline; }

.terms-row { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 20px; }
.terms-row input { accent-color: var(--green-mid); width: 15px; height: 15px; margin-top: 3px; flex-shrink: 0; }
.terms-row span  { font-size: 0.83rem; color: var(--text-mid); line-height: 1.55; }
.terms-row a     { color: var(--green-mid); font-weight: 600; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.demo-hint {
  background: var(--green-pale); border-radius: 11px;
  padding: 13px 15px; margin-top: 18px;
  font-size: 0.8rem; color: var(--green-deep); line-height: 1.7;
}
.demo-hint strong { font-weight: 700; }

/* Submit button */
.btn-auth {
  width: 100%; padding: 14px; background: var(--green-mid);
  color: var(--white); border: none; border-radius: var(--radius-full);
  font-size: 1rem; font-weight: 700; font-family: var(--font-body);
  letter-spacing: 0.3px; cursor: pointer; transition: all var(--t-base);
}
.btn-auth:hover { background: var(--green-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-auth:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }

/* Pane switching */
.pane        { display: none; }
.pane.active { display: block; }

/* ---- RESPONSIVE ---- */
@media (max-width: 860px) {
  body { flex-direction: column; overflow: auto; }
  .auth-left  { padding: 36px 24px; min-height: auto; }
  .auth-right { width: 100%; padding: 32px 22px; }
  .two-col    { grid-template-columns: 1fr; }
  .al-testimonial, .al-deco1, .al-deco2, .al-deco3 { display: none; }
}
