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

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f6f8fb;
  font-family: Arial, Helvetica, sans-serif;
  color: #1f2937;
  padding: 24px 16px;
}

.card {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
}

.card-header {
  padding: 20px 32px;
  background: #0f172a;
  display: flex;
  align-items: center;
}

.card-logo {
  display: block;
  height: 36px;
  width: auto;
}

.card-body {
  padding: 32px;
}

h2 {
  margin-bottom: 20px;
  font-size: 20px;
  line-height: 28px;
  color: #111827;
}

.description {
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 22px;
  color: #4b5563;
}

.alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 21px;
}
.alert-error   { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.alert-warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.alert-success { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.alert-info    { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }

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

label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}

input[type=text],
input[type=email],
input[type=password] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 15px;
  color: #1f2937;
  background: #fff;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input[type=text]:focus,
input[type=email]:focus,
input[type=password]:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
input[disabled] { background: #f3f4f6; color: #6b7280; cursor: not-allowed; }

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.checkbox-group label { margin-bottom: 0; font-weight: normal; color: #4b5563; }
.checkbox-group input[type=checkbox] { width: 16px; height: 16px; cursor: pointer; }

.btn {
  display: block;
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  margin-top: 8px;
  transition: background 0.15s;
}
.btn-primary  { background: #2563eb; color: #fff; }
.btn-primary:hover  { background: #1d4ed8; }
.btn-secondary { background: #f3f4f6; color: #374151; border: 1px solid #d1d5db; }
.btn-secondary:hover { background: #e5e7eb; }

.links {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
}
.links a { color: #2563eb; text-decoration: none; }
.links a:hover { text-decoration: underline; }

hr.divider { border: none; border-top: 1px solid #e5e7eb; margin: 24px 0; }

.action-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}
.action-list li {
  padding: 10px 14px;
  margin-bottom: 8px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  font-size: 15px;
  color: #1d4ed8;
  font-weight: 600;
}
