
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', "Segoe UI", Arial, sans-serif;
}

body {
  background: linear-gradient(135deg, #e3f2fd, #f4f7fc);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

/* Wrapper */
.wrap {
  background: #fff;
  width: 100%;
  max-width: 650px;
  padding: 30px 25px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  animation: fadeIn 0.6s ease-in-out;
}

/* Header */
header h1 {
  text-align: center;
  margin-bottom: 8px;
  color: #222;
  font-size: 28px;
  font-weight: 600;
}

header p {
  text-align: center;
  margin-bottom: 25px;
  font-size: 15px;
  color: #666;
}

/* Form */
fieldset {
  border: none;
  margin-bottom: 15px;
}

legend {
  font-weight: bold;
  margin-bottom: 15px;
  color: #444;
  font-size: 16px;
}

/* Grid layout */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.col-12 {
  grid-column: span 2;
}

/* Labels & Inputs */
label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 14px;
  color: #333;
}

input, select {
  width: 100%;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 15px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus, select:focus {
  border-color: #0056d2;
  box-shadow: 0 0 5px rgba(0, 86, 210, 0.3);
  outline: none;
}

input::placeholder {
  color: #9ca3af;
  font-size: 14px;
}

/* Actions */
.actions {
  text-align: center;
  margin-top: 20px;
}

.btn-primary {
  background: #0056d2;
  color: #fff;
  border: none;
  padding: 12px 26px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #0041a8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 86, 210, 0.3);
}

.btn-ghost {
  background: transparent;
  color: #333;
  border: 1px solid #ccc;
  padding: 12px 26px;
  border-radius: 10px;
  cursor: pointer;
  margin-right: 12px;
  font-size: 15px;
  transition: all 0.3s ease;
}

.btn-ghost:hover {
  background: #f8f9fa;
  border-color: #999;
}

/* Login link */
.login-link {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #555;
}

.login-link a {
  color: #0056d2;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s;
}

.login-link a:hover {
  color: #0041a8;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .btn-ghost {
    margin-bottom: 10px;
  }
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}



/* Heading font — Poppins for visual hierarchy against Inter body text */
h1, h2, h3, .logo, .brand, .gate-box h2 {
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
}
