/* public/css/auth.css */
:root {
  --primary: #ff6b35; /* Cam chủ đạo */
  --primary-hover: #e85d2a;
  --bg-color: #f8f9fa; /* Trắng xám nhẹ */
  --text-color: #333;
  --error-bg: #ffe6e6;
  --error-text: #d8000c;
  --success-bg: #dff0d8;
  --success-text: #3c763d;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: var(--bg-color);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.auth-container {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.auth-header h1 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 28px;
}

.auth-header p {
  color: #666;
  margin-bottom: 30px;
  font-size: 14px;
}

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

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

.form-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  box-sizing: border-box;
  transition: border-color 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
}

.btn-primary {
  width: 100%;
  padding: 14px;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
}

.btn-loading {
  opacity: 0.7;
  cursor: not-allowed;
  position: relative;
}

/* Thông báo lỗi/thành công */
.alert {
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 6px;
  font-size: 14px;
  display: none; /* Mặc định ẩn */
}
.alert-error { background-color: var(--error-bg); color: var(--error-text); }
.alert-success { background-color: var(--success-bg); color: var(--success-text); }

/* Link chuyển trang */
.auth-footer {
  margin-top: 20px;
  font-size: 14px;
  color: #666;
}
.auth-footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}
.auth-footer a:hover { text-decoration: underline; }