/* BKPSDM Auth Stylesheet */
:root {
  --primary: #1a3a6b;
  --primary-light: #2a5aa8;
  --accent: #c9a227;
  --dark: #0d1b33;
  --text: #2d3748;
  --text-light: #718096;
  --border: #e2e8f0;
  --white: #fff;
}

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

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: linear-gradient(135deg, #0f2447, #1a3a6b);
  color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-wrapper {
  width: 100%;
  max-width: 420px;
  padding: 20px;
}

.auth-panel {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  padding: 40px;
  color: var(--text);
}

.auth-brand {
  text-align: center;
  margin-bottom: 30px;
}

.auth-logo {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: contain;
  margin: 0 auto 12px;
  box-shadow: 0 4px 15px rgba(26, 58, 107, 0.15);
}

.auth-brand h1 {
  color: var(--primary);
  font-size: 1.8rem;
}

.auth-brand p {
  color: var(--text-light);
  font-size: 0.8rem;
  margin-top: 6px;
}

.auth-alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-alert-error {
  background: #fed7d7;
  color: #742a2a;
  border: 1px solid #feb2b2;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: var(--text);
}

.input-icon {
  position: relative;
}

.input-icon i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
}

.input-icon input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.input-icon input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 58, 107, 0.1);
}

.btn-auth {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-auth:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.auth-footer {
  text-align: center;
  margin-top: 20px;
}

.auth-footer a {
  color: var(--text-light);
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.auth-footer a:hover {
  color: var(--primary);
}

@media (max-width: 480px) {
  .auth-panel {
    padding: 24px;
  }
}
