/* =========================================================
   AUTH STYLES — Login & Register (Premium Editorial)
   ========================================================= */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  font-family: "Poppins", sans-serif;
}

.auth-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  padding: 48px;
  width: 100%;
  max-width: 440px;
  position: relative;
}
.auth-card.admin-mode {
  border-top: 4px solid #c9a227;
}

.auth-back {
  position: absolute;
  top: 24px;
  left: 24px;
  color: #555;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.auth-back:hover {
  color: #c8102e;
}

.auth-header {
  text-align: center;
  margin-bottom: 32px;
}
.auth-header .icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #f5f5f5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #c8102e;
  margin-bottom: 16px;
}
.auth-header h1 {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.auth-header p {
  font-size: 14px;
  color: #666;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.auth-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1a1a1a;
}
.auth-field input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #e0e0e0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.auth-field input:focus {
  outline: none;
  border-color: #1a1a1a;
  box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.1);
}

.auth-remember {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #555;
}
.auth-remember label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.auth-remember a {
  color: #c8102e;
  font-weight: 500;
}
.auth-remember a:hover {
  text-decoration: underline;
}

/* Tombol Submit (Daftar / Login) */
.auth-submit {
  width: 100%;
  padding: 16px;
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-top: 8px;
  display: block; /* Memastikan tombolnya memenuhi lebar form */
}
.auth-submit:hover {
  background: #c8102e; /* Berubah merah pas di-hover */
  transform: translateY(-2px);
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: #555;
}
.auth-footer a {
  color: #c8102e;
  font-weight: 600;
}
.auth-footer a:hover {
  text-decoration: underline;
}

.auth-staff-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #999;
}
.auth-staff-link:hover {
  color: #c9a227;
}
