* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  min-height: 100vh;
  background: linear-gradient(135deg, #eef6f0, #f8fafc);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1f2937;
}

.login-page {
  width: 100%;
  max-width: 460px;
  padding: 20px;
}

.login-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
  border: 1px solid #e5e7eb;
}

.login-header {
  text-align: center;
  margin-bottom: 28px;
}

.login-header h1 {
  font-size: 28px;
  color: #0f172a;
  margin-bottom: 8px;
}

.login-header p {
  font-size: 14px;
  color: #64748b;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-group label {
  font-size: 14px;
  font-weight: bold;
  color: #334155;
}

.input-group input {
  height: 46px;
  border: 1px solid #dbe3ec;
  border-radius: 12px;
  padding: 0 14px;
  font-size: 14px;
  outline: none;
  transition: 0.2s ease;
}

.input-group input:focus {
  border-color: #15803d;
  box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.10);
}

button {
  height: 48px;
  border: none;
  border-radius: 12px;
  background: #15803d;
  color: white;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s ease;
}

button:hover {
  background: #166534;
}

button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.message-box {
  min-height: 20px;
  font-size: 14px;
  text-align: center;
  margin-top: 4px;
}

.message-box.success {
  color: #166534;
}

.message-box.error {
  color: #b91c1c;
}

@media (max-width: 480px) {
  .login-card {
    padding: 24px 18px;
  }

  .login-header h1 {
    font-size: 24px;
  }
}

.back-btn {
  background: transparent !important;
  border: none !important;
  color: #4f6b57 !important;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 14px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: 0.2s ease;
  box-shadow: none !important;
  width: auto !important;
  height: auto !important;
}

.back-btn:hover {
  color: #1f2a1f !important;
  transform: translateX(-2px);
  background: transparent !important;
}