/* ============================================================
   AUTH: Halaman Login & Register (tema HAMIM)
   ============================================================ */
.auth-screen {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hamim-bg, #f8f8f8);
  padding: 20px;
}
.auth-screen[hidden] {
  display: none !important;
}
.auth-card {
  display: flex;
  width: 100%;
  max-width: 920px;
  min-height: 540px;
  background: var(--hamim-white, #ffffff);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
}
.auth-brand {
  flex: 1;
  background: linear-gradient(150deg, #e26100 0%, #ff8f3d 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  text-align: center;
}
.auth-brand img {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  background: #fff;
  padding: 8px;
  margin-bottom: 20px;
  object-fit: contain;
}
.auth-brand h2 {
  font-weight: 800;
  font-size: 28px;
  margin-bottom: 10px;
}
.auth-brand p {
  opacity: 0.92;
  max-width: 260px;
  font-size: 14px;
}
.auth-form {
  flex: 1.2;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-form h1 {
  font-size: 24px;
  font-weight: 800;
  color: var(--hamim-dark, #414344);
  margin-bottom: 4px;
}
.auth-form .auth-sub {
  color: var(--hamim-gray, #999999);
  font-size: 14px;
  margin-bottom: 24px;
}
.auth-form .form-label {
  font-weight: 600;
  color: var(--hamim-dark, #414344);
  font-size: 14px;
}
.auth-form .form-control {
  border-radius: 10px;
  padding: 11px 14px;
  border-color: var(--hamim-border, #dddddd);
}
.auth-form .form-control:focus {
  border-color: var(--hamim-orange, #e26100);
  box-shadow: 0 0 0 0.2rem rgba(226, 97, 0, 0.15);
}
.btn-hamim {
  background: var(--hamim-orange, #e26100);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  padding: 11px 20px;
}
.btn-hamim:hover {
  background: #c75400;
  color: #fff;
}
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  color: #414344;
  border: 1px solid #dddddd;
  border-radius: 10px;
  font-weight: 600;
  padding: 11px 20px;
}
.btn-google:hover {
  background: #f5f5f5;
}
.btn-google svg {
  width: 20px;
  height: 20px;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #999999;
  font-size: 13px;
  margin: 20px 0;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5e5e5;
}
.auth-error {
  color: #dc3545;
  font-size: 13px;
  margin-top: 8px;
  min-height: 18px;
}
.auth-switch {
  text-align: center;
  margin-top: 18px;
  font-size: 14px;
  color: #414344;
}
.auth-switch a {
  color: #e26100;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.auth-switch a:hover {
  text-decoration: underline;
}
@media (max-width: 768px) {
  .auth-card {
    flex-direction: column;
    min-height: auto;
  }
  .auth-brand {
    padding: 28px 20px;
  }
  .auth-brand img {
    width: 64px;
    height: 64px;
    margin-bottom: 12px;
  }
  .auth-brand h2 {
    font-size: 20px;
  }
  .auth-form {
    padding: 28px 22px;
  }
}

