/* ============================================================
   SPP ONLINE — Login & Auth Pages CSS
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;800;900&family=DM+Sans:wght@400;500;600&display=swap');

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

body {
  font-family: 'DM Sans', sans-serif;
  min-height: 100vh;
  display: flex;
  background: #0D0103;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-font-smoothing: antialiased;
}

.login-left {
  width: 52%;
  position: relative;
  background: linear-gradient(155deg, #FF3347 0%, #E8192C 40%, #9C0A18 75%, #600009 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  padding: 50px;
}
.login-left::before {
  content: '';
  position: absolute; top: -100px; left: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.login-left::after {
  content: '';
  position: absolute; bottom: -80px; right: -80px;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: rgba(0,0,0,.12);
}
.left-content {
  position: relative; z-index: 2;
  max-width: 420px;
}
.left-logo {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 50px;
}
.left-logo-icon {
  width: 54px; height: 54px;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  backdrop-filter: blur(10px);
}
.left-logo h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 22px; font-weight: 800;
  color: white; line-height: 1.2;
}
.left-logo p { font-size: 12px; color: rgba(255,255,255,.55); margin-top: 2px; }
.left-tagline {
  font-family: 'Outfit', sans-serif;
  font-size: 44px; font-weight: 900;
  color: white; line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.left-tagline span { color: rgba(255,255,255,.35); font-weight: 300; }
.left-desc {
  font-size: 15px; color: rgba(255,255,255,.65);
  line-height: 1.7; margin-bottom: 40px;
}
.left-features { display: flex; flex-direction: column; gap: 12px; }
.feature-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: .25s ease;
}
.feature-item:hover { background: rgba(255,255,255,.12); }
.feature-icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.15);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; flex-shrink: 0;
}
.feature-text { font-size: 13px; font-weight: 500; color: rgba(255,255,255,.85); }
.dots-bg {
  position: absolute; inset: 0; z-index: 1;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 28px 28px;
}

.login-right {
  flex: 1;
  background: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
  padding: 50px 60px;
  position: relative;
  overflow-y: auto;
}
.login-right::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,25,44,.05) 0%, transparent 65%);
}
.login-form-wrap {
  width: 100%; max-width: 380px;
  position: relative; z-index: 1;
}
.login-greeting { margin-bottom: 36px; }
.login-greeting .welcome {
  font-size: 12.5px; font-weight: 600;
  color: #E8192C; letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 8px;
  display: block;
}
.login-greeting h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 32px; font-weight: 800; line-height: 1.15;
  color: #171717; letter-spacing: -.5px;
}
.login-greeting p { font-size: 14px; color: #737373; margin-top: 8px; }

.form-group { margin-bottom: 18px; }
.form-label {
  display: block; font-size: 13px; font-weight: 600;
  color: #404040; margin-bottom: 7px;
}
.form-control-login {
  width: 100%; padding: 12px 15px;
  border: 1.5px solid #E5E5E5; border-radius: 11px;
  font-size: 14px; font-family: 'DM Sans', sans-serif;
  color: #171717; background: #FAFAFA;
  transition: .25s ease; outline: none;
}
.form-control-login:focus {
  border-color: #E8192C; background: white;
  box-shadow: 0 0 0 4px rgba(232,25,44,.09);
}
.form-control-login::placeholder { color: #D4D4D4; }
.form-control-login.is-invalid { border-color: #EF4444; }

.input-icon-wrap { position: relative; }
.input-icon {
  position: absolute; left: 13px; top: 50%;
  transform: translateY(-50%); font-size: 16px; color: #A3A3A3;
}
.input-icon-wrap .form-control-login { padding-left: 42px; }
.toggle-pass {
  position: absolute; right: 13px; top: 50%;
  transform: translateY(-50%);
  cursor: pointer; color: #A3A3A3;
  font-size: 16px; transition: color .2s;
}
.toggle-pass:hover { color: #E8192C; }

.login-extras {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px;
}
.remember-wrap {
  display: flex; align-items: center; gap: 7px;
  font-size: 13px; color: #525252; cursor: pointer;
}
.remember-wrap input[type=checkbox] { accent-color: #E8192C; width: 15px; height: 15px; }
.forgot-link { font-size: 13px; color: #E8192C; font-weight: 600; }
.forgot-link:hover { text-decoration: underline; }

.btn-login {
  width: 100%; padding: 13px;
  background: linear-gradient(135deg, #FF3347, #C4101F);
  color: white; border: none; border-radius: 11px;
  font-size: 15px; font-weight: 700; font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(232,25,44,.35);
  transition: .25s ease;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-login:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(232,25,44,.45); }
.btn-login:active { transform: none; }

.login-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 22px 0; color: #A3A3A3; font-size: 12.5px;
}
.login-divider::before, .login-divider::after {
  content: ''; flex: 1; height: 1px; background: #E5E5E5;
}

.role-toggle { display: flex; gap: 8px; margin-bottom: 24px; }
.role-btn {
  flex: 1; padding: 10px 14px;
  border: 1.5px solid #E5E5E5; border-radius: 10px;
  background: #FAFAFA; color: #525252;
  font-size: 13px; font-weight: 600;
  cursor: pointer; transition: .2s ease;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.role-btn.active { background: #FFF5F6; border-color: #E8192C; color: #E8192C; }
.role-btn:hover:not(.active) { border-color: #D4D4D4; background: #F5F5F5; }

.alert-login {
  padding: 11px 15px; border-radius: 10px;
  font-size: 13px; margin-bottom: 18px;
  display: flex; align-items: center; gap: 9px;
}
.alert-login.error {
  background: #FEE2E2; border: 1px solid rgba(239,68,68,.25); color: #7F1D1D;
}
.alert-login.success {
  background: #DCFCE7; border: 1px solid rgba(34,197,94,.25); color: #14532D;
}

.login-back-link { text-align: center; margin-top: 24px; }
.login-back-link a {
  font-size: 13px; color: #E8192C; font-weight: 600;
  display: inline-flex; align-items: center; gap: 4px;
  transition: .2s ease;
}
.login-back-link a:hover { color: #9C0A18; }

.login-footer {
  margin-top: 28px; text-align: center;
  font-size: 12px; color: #A3A3A3;
}

@media (max-width: 900px) {
  body { flex-direction: column; }
  .login-left { width: 100%; min-height: 240px; padding: 36px 28px; }
  .left-logo { margin-bottom: 24px; }
  .left-tagline { font-size: 32px; }
  .left-desc { margin-bottom: 20px; font-size: 13px; }
  .left-features { display: none; }
  .login-right { padding: 40px 30px; }
}
@media (max-width: 480px) {
  .login-left { padding: 28px 20px; }
  .left-tagline { font-size: 26px; }
  .login-right { padding: 30px 20px; }
  .login-greeting h2 { font-size: 26px; }
}

/* =====================================================
   AUTH SOLO PAGE - Ganti Password (tanpa panel kiri)
   ===================================================== */

body.auth-solo-page {
  background: #F4F5F7 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 100vh !important;
  padding: 30px 16px !important;
  overflow: auto !important;
  flex-direction: column !important;
}

.auth-solo-wrap {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.auth-solo-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
}
.auth-solo-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, #FF3347, #C4101F);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 16px rgba(232,25,44,.30);
  flex-shrink: 0;
}
.auth-solo-logo h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 20px; font-weight: 800;
  color: #171717; line-height: 1.2;
}
.auth-solo-logo p {
  font-size: 11px; color: #A3A3A3;
  letter-spacing: .8px; text-transform: uppercase; margin-top: 2px;
}

.auth-solo-card {
  background: white;
  border-radius: 20px;
  padding: 36px 36px 28px;
  box-shadow: 0 4px 32px rgba(0,0,0,.08);
  border: 1px solid rgba(0,0,0,.04);
}

.auth-solo-head { margin-bottom: 28px; }
.auth-solo-head .welcome {
  font-size: 12px; font-weight: 600;
  color: #E8192C; letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 8px; display: block;
}
.auth-solo-head h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 26px; font-weight: 800;
  color: #171717; letter-spacing: -.4px;
  line-height: 1.2; margin-bottom: 6px;
}
.auth-solo-head p { font-size: 13.5px; color: #737373; line-height: 1.6; }

@media (max-width: 480px) {
  .auth-solo-card { padding: 28px 22px 22px; }
  .auth-solo-head h2 { font-size: 22px; }
}