/* ============================================================
   IZA HOME — Auth Pages  |  Split-Screen Design
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }

.auth-body {
  min-height: 100vh;
  background: #0d0b09;
}

/* ── Split layout ──────────────────────────────────────────── */
.auth-split {
  display: flex;
  min-height: 100vh;
}

/* ── Left: image panel ─────────────────────────────────────── */
.auth-image-panel {
  position: relative;
  flex: 0 0 55%;
  background: url('../web_images_statics/login_pik.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.8rem 3rem;
  overflow: hidden;
}

.auth-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(6,4,2,0.55) 0%,
    rgba(6,4,2,0.30) 45%,
    rgba(6,4,2,0.72) 100%
  );
  z-index: 0;
}

.auth-brand {
  position: relative;
  z-index: 1;
  display: inline-block;
}

.auth-brand-logo {
  height: 120px;
  width: auto;
  object-fit: contain;
}

.auth-image-caption {
  position: relative;
  z-index: 1;
}

.auth-caption-tag {
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.auth-caption-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  font-weight: 400;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.auth-caption-title em {
  font-style: italic;
  color: var(--gold);
}

.auth-caption-sub {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  max-width: 380px;
}

/* ── Right: form panel ─────────────────────────────────────── */
.auth-form-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 3rem 2rem;
}

.auth-form-inner {
  width: 100%;
  max-width: 400px;
}

.auth-form-tag {
  font-family: 'Poppins', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.auth-form-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: #111111;
  margin-bottom: 0.5rem;
  line-height: 1.15;
}

.auth-form-sub {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  color: #888;
  line-height: 1.7;
  margin-bottom: 2.2rem;
}

/* ── Alert ─────────────────────────────────────────────────── */
.auth-alert {
  padding: 0.75rem 1rem;
  font-size: 0.76rem;
  margin-bottom: 1.5rem;
  border: 1px solid;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
}

.auth-alert-error   { background: rgba(180,40,40,0.05); border-color: rgba(180,40,40,0.25); color: #A02020; }
.auth-alert-success { background: rgba(30,140,60,0.05);  border-color: rgba(30,140,60,0.25);  color: #1A7030; }

/* ── Form fields ───────────────────────────────────────────── */
.auth-form .form-group {
  margin-bottom: 1.25rem;
}

.auth-form .form-group label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #444;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
}

.auth-form .form-group input {
  width: 100%;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  color: #111;
  background: #f9f7f4;
  border: 1.5px solid #e8e4de;
  border-radius: 8px;
  padding: 0.78rem 1rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-form .form-group input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196,146,42,0.1);
  background: #fff;
}

.auth-form .form-group input::placeholder { color: #bbb; }

/* ── Submit button ─────────────────────────────────────────── */
.auth-submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: #111111;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0.9rem 1.5rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-top: 0.5rem;
}

.auth-submit-btn:hover {
  background: var(--gold-dark, #b8922a);
  transform: translateY(-1px);
}

/* ── Footer links ──────────────────────────────────────────── */
.auth-switch {
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 0.76rem;
  color: #888;
  margin-top: 1.6rem;
}

.auth-switch a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
}

.auth-switch a:hover { text-decoration: underline; }

.auth-back-home {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.68rem;
  color: #aaa;
  text-decoration: none;
  margin-top: 1.8rem;
  transition: color 0.2s;
}

.auth-back-home:hover { color: var(--gold); }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 820px) {
  .auth-split { flex-direction: column; }

  .auth-image-panel {
    flex: none;
    min-height: 280px;
    padding: 2rem;
  }

  .auth-caption-title { font-size: 1.8rem; }
  .auth-caption-sub   { display: none; }

  .auth-form-panel { padding: 2.5rem 1.5rem; }
}

@media (max-width: 480px) {
  .auth-image-panel { min-height: 220px; }
  .auth-form-inner  { max-width: 100%; }
}
