/* ===== Global Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
  background: linear-gradient(135deg, #eef2f3, #8e9eab);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #333;
}

/* ===== Container ===== */
.container-small {
  width: 100%;
  max-width: 420px;
  padding: 20px;
}

/* ===== Card ===== */
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  padding: 30px 25px;
  animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Card Header ===== */
.card-header {
  margin-bottom: 25px;
}

.card-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2b3a67;
  margin-bottom: 5px;
}

.card-subtitle {
  font-size: 0.9rem;
  color: #666;
}

/* ===== Alerts ===== */
.alert {
  padding: 12px 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 0.95rem;
  text-align: center;
}

.alert-error {
  background: #ffe6e6;
  color: #c0392b;
  border: 1px solid #f5b7b1;
}

.alert-success {
  background: #e9f9ee;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

/* ===== Form ===== */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 5px;
  display: block;
}

.form-group input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

.form-group input:focus {
  border-color: #2b3a67;
  outline: none;
  box-shadow: 0 0 0 3px rgba(43, 58, 103, 0.1);
}

/* ===== Buttons ===== */
.btn {
  padding: 12px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #2b3a67, #4e73df);
  color: #fff;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d2951, #3b5bcc);
}

.btn-secondary {
  background: #f4f6fb;
  color: #2b3a67;
  border: 1px solid #d0d5e0;
}

.btn-secondary:hover {
  background: #e9ecf5;
}

.btn-success {
  background: linear-gradient(135deg, #1abc9c, #16a085);
  color: #fff;
}

.btn-success:hover {
  background: linear-gradient(135deg, #17a589, #138d75);
}

/* ===== Misc ===== */
hr {
  border: none;
  height: 1px;
  background: #ddd;
}

.text-center {
  text-align: center;
}

.text-muted {
  color: #777;
}

.mb-20 {
  margin-bottom: 20px;
}

.mt-20 {
  margin-top: 20px;
}

.text-small {
  font-size: 0.85rem;
}

p strong {
  color: #2b3a67;
}
