/* ============================================================
   SiPEKA-SMK — Auth CSS (Login)
   ============================================================ */

.auth-wrapper {
  display: flex;
  min-height: 100vh;
  background: white;
}

/* ─── Kiri: Hero Banner ──────────────────────────────────────── */
.auth-hero {
  flex: 1;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem;
  position: relative;
  overflow: hidden;
}

.auth-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

.auth-hero-content {
  position: relative;
  z-index: 10;
  max-width: 500px;
  animation: slideInLeft 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.auth-logo {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  background: white;
  padding: 8px;
}

.auth-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.auth-subtitle {
  font-size: 1.1rem;
  opacity: 0.8;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.auth-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.auth-feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
  background: rgba(255,255,255,0.08);
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius);
  backdrop-filter: blur(5px);
}

.auth-feature-icon {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

/* ─── Kanan: Form Area ───────────────────────────────────────── */
.auth-form-container {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem;
  background: white;
}

.auth-form-wrapper {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  animation: fadeInUp 0.6s ease;
}

.auth-form-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.auth-mobile-logo {
  display: none;
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.auth-form-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.auth-form-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ─── Custom Inputs ──────────────────────────────────────────── */
.form-floating {
  margin-bottom: 1.25rem;
}

.form-floating > .form-control {
  border-radius: var(--radius);
  border: 2px solid var(--border-color);
  padding-left: 1.2rem;
}

.form-floating > .form-control:focus {
  border-color: var(--primary);
  box-shadow: none;
}

.form-floating > label {
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.password-toggle {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  z-index: 10;
}
.password-toggle:hover { color: var(--primary); }

.btn-login {
  width: 100%;
  padding: 0.8rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  margin-top: 1rem;
  background: var(--primary);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-login:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30,58,95,0.2);
}

.auth-footer {
  text-align: center;
  margin-top: 3rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .auth-hero {
    display: none;
  }
  .auth-form-container {
    max-width: 100%;
    padding: 2rem;
  }
  .auth-mobile-logo {
    display: block;
  }
}
