/* ── Login wrap ── */
.adv-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 60% 40%, #1a2040 0%, var(--bg) 60%);
  padding: 1.5rem;
}

/* ── Card ── */
.adv-login-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 3.5rem 3rem;
  width: 100%;
  max-width: 520px;
  animation: slideUp 0.3s ease;
}

/* ── Logo ── */
.adv-login-logo {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #1e40af, var(--accent));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 24px rgba(79, 142, 247, 0.35);
}

/* ── Title ── */
.adv-login-title {
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.adv-login-sub {
  color: var(--text-muted);
  text-align: center;
  font-size: 0.9rem;
  margin-bottom: 2.25rem;
}

/* ── Input ── */
.adv-input {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.adv-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79, 142, 247, 0.15);
}

.adv-input::placeholder {
  color: var(--text-muted);
}

/* ── Form groups ── */
.mb-3 {
  margin-bottom: 18px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
  margin-bottom: 8px;
}

/* ── Password wrap ── */
.password-wrap {
  position: relative;
}

.password-wrap .adv-input {
  padding-right: 46px;
}

.password-wrap button {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}



/* ── Remember ── */
.remember {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 14px;
}

.remember input[type="checkbox"] {
  accent-color: var(--accent);
  width: 15px;
  height: 15px;
  cursor: pointer;
}

/* ── Submit button ── */
.adv-btn {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  border: none;
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
  margin-top: 6px;
}

.adv-btn:hover {
  opacity: 0.85;
}

.adv-btn:active {
  transform: scale(0.98);
}

.adv-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.password-wrap {
  position: relative;
}

.password-wrap .adv-input {
  padding-right: 42px;
}

.password-wrap button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  padding: 0;
  transition: color 0.2s;
}

.password-wrap button:hover {
  color: var(--text);
}