body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #0d1f2d;
  background-image:   linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5)), url('../../images/bg-login-terbaru.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #111827;
}

.page-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-card {
  width: min(460px, 100%);
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 36px;
  padding: 40px 34px;
  box-shadow: 0 40px 90px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
}

.login-card::before {
  content: '';
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.12);
  top: -70px;
  right: -70px;
}

.login-card::after {
  content: '';
  position: absolute;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.1);
  bottom: -50px;
  left: -50px;
}

.brand-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.brand-logo {
  width: 96px;
  height: auto;
}

.brand-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #111827;
}

.brand-subtitle {
  font-size: 12px;
  color: #111827;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.login-header {
  text-align: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.login-header p {
  margin: 0;
  color: #7c3aed;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.login-header h1 {
  margin: 12px 0 0;
  font-size: 30px;
  line-height: 1.1;
  color: #111827;
}

.login-header .subtitle {
  margin-top: 10px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.8;
}

.login-form {
  display: grid;
  gap: 18px;
  position: relative;
  z-index: 1;
}

.form-group {
  display: grid;
  gap: 10px;
}

.form-group label {
  font-size: 12px;
  color: #6b7280;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-group input,
.form-group select {
  width: 100%;
  min-height: 50px;
  border-radius: 16px;
  border: 1px solid rgba(167, 139, 250, 0.3);
  padding: 0 16px;
  font-size: 15px;
  color: #111827;
  background: rgba(255, 255, 255, 0.92);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #8b5cf6;
  box-shadow: 0 0 0 4px rgba(167, 139, 250, 0.18);
}

.form-group select {
  appearance: none;
}

.btn-login {
  width: 100%;
  min-height: 54px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(135deg, #7c3aed 0%, #4338ca 100%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn-login:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.form-errors {
  padding: 16px;
  background: #f8d7da;
  border: 1px solid #f5c2c7;
  border-radius: 14px;
  position: relative;
  z-index: 1;
}

.form-errors ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.form-errors li {
  font-size: 13px;
  color: #842029;
}

@media (max-width: 520px) {
  .login-card {
    padding: 30px 22px;
    border-radius: 28px;
  }

  .brand-logo {
    width: 72px;
  }

  .login-header h1 {
    font-size: 24px;
  }
}