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

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: linear-gradient(135deg, #0f1e35 0%, #1e3a5f 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-page {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.login-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
}

.login-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}

.logo-icon {
  width: 52px;
  height: 52px;
  background: #2563eb;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37,99,235,0.4);
}

.logo-name { font-size: 20px; font-weight: 700; color: #1e293b; line-height: 1.2; }
.logo-sub { font-size: 12px; color: #64748b; margin-top: 3px; }

h2 { font-size: 22px; font-weight: 700; color: #1e293b; margin-bottom: 6px; }
.login-desc { font-size: 14px; color: #64748b; margin-bottom: 28px; }

.error-msg {
  display: none;
  background: #fee2e2;
  color: #b91c1c;
  border-left: 4px solid #dc2626;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  margin-bottom: 16px;
}

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 7px;
}

.form-group input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  color: #1e293b;
  background: #f8fafc;
}
.form-group input:focus {
  border-color: #2563eb;
  background: white;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.password-wrapper {
  position: relative;
}

.password-wrapper input {
  padding-right: 44px;
}

.btn-toggle-pwd {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #94a3b8;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s;
}
.btn-toggle-pwd:hover { color: #475569; }

.btn-login {
  width: 100%;
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 13px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  margin-top: 4px;
  transition: background 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}
.btn-login:hover { background: #1d4ed8; box-shadow: 0 6px 16px rgba(37,99,235,0.4); }
.btn-login:active { background: #1e40af; }
.btn-login:disabled { background: #94a3b8; box-shadow: none; cursor: not-allowed; }

.login-footer {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  text-align: center;
}
