@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

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

body {
  font-family: 'Inter', sans-serif;
  background-color: #f0f2f5;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  padding: 40px;
  max-width: 420px;
  width: 100%;
  border-top: 4px solid #2563eb;
}

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

.brand-area h1 {
  font-size: 28px;
  color: #1e293b;
  font-weight: 700;
  margin-bottom: 4px;
}

.brand-area .subtitle {
  font-size: 14px;
  color: #6b7280;
  letter-spacing: 0.5px;
}

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

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

.form-group input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 15px;
  transition: border 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.submit-btn {
  width: 100%;
  padding: 13px;
  background-color: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
}

.submit-btn:hover {
  background-color: #1d4ed8;
  transform: translateY(-1px);
}

.submit-btn.btn-loading {
  opacity: 0.7;
  pointer-events: none;
}

.submit-btn.btn-loading .btn-text {
  display: none;
}

.submit-btn.btn-loading .btn-spinner {
  display: block;
}

.error-msg {
  color: #dc2626;
  background-color: #fef2f2;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
  border-left: 3px solid #dc2626;
  margin-bottom: 16px;
  display: none;
}

.footer {
  text-align: center;
  margin-top: 32px;
  font-size: 12px;
  color: #9ca3af;
}

@media (max-width: 480px) {
  .login-card {
    padding: 28px 20px;
  }
}
