:root {
  --brand-1: #1e3a8a;
  --brand-2: #2563eb;
  --brand-3: #3b82f6;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
}

* {
  box-sizing: border-box;
}

body {
  background: #eef2f9;
  background-image:
    radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.08), transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(30, 58, 138, 0.08), transparent 40%);
  font-family: "Poppins", "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
}

.login-wrapper {
  min-height: 100vh;
  padding: 24px 0;
}

.login-card {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

/* ============ LEFT / BRAND PANEL ============ */
.login-left {
  position: relative;
  background: linear-gradient(150deg, var(--brand-1) 0%, var(--brand-2) 60%, var(--brand-3) 100%);
  color: #ffffff;
  min-height: 600px;
  overflow: hidden;
}

.login-left::before,
.login-left::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.login-left::before {
  width: 320px;
  height: 320px;
  top: -120px;
  right: -100px;
}

.login-left::after {
  width: 220px;
  height: 220px;
  bottom: -90px;
  left: -70px;
}

.login-left .brand-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.brand-logo {
  width: 94px;
  height: 94px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.brand-logo img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.login-left h2 {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.login-left .subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  margin-bottom: 28px;
}

.login-left .lead-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 16px;
}

.feature-list .feature-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* ============ RIGHT / FORM PANEL ============ */
.auth-form {
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-title {
  font-weight: 700;
  margin-bottom: 4px;
}

.auth-subtitle {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 0;
}

.auth-form label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.input-group-pro {
  position: relative;
}

.input-group-pro .field-icon {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 15px;
  pointer-events: none;
}

.input-group-pro .toggle-pass {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  color: var(--muted);
  cursor: pointer;
  font-size: 15px;
  background: none;
  border: none;
  padding: 4px;
}

.input-group-pro .toggle-pass:focus {
  outline: none;
}

.form-control {
  height: 50px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  padding-left: 44px;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input-group-pro input {
  padding-right: 44px;
}

.form-control:focus {
  border-color: var(--brand-2);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.btn-login {
  height: 50px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3px;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  border: none;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.28);
  transition: transform 0.15s, box-shadow 0.2s;
}

.btn-login:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.34);
}

.btn-login:active {
  transform: translateY(0);
}

.auth-footer {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.auth-divider {
  height: 1px;
  background: var(--line);
  margin: 28px 0 20px;
}

@media (max-width: 575.98px) {
  .auth-form,
  .login-left {
    min-height: auto;
  }

  .auth-form {
    padding: 32px 24px !important;
  }
}
