html,
body {
  height: 100%;
}

body {
  display: flex;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
  background: radial-gradient(circle at top, #f8fafc 0%, #e2e8f0 100%);
  color: #334155;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.form-signin {
  width: 100%;
  max-width: 400px;
  padding: 15px;
  margin: auto;
}

.card {
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05) !important;
}

.form-control {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
  padding: 10px 15px;
}

.form-control:focus {
  background-color: #ffffff !important;
  color: #0f172a !important;
  border-color: #6366f1 !important;
  box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.25) !important;
}

.form-control::placeholder {
  color: #94a3b8;
}

.btn-primary {
  background-color: #6366f1 !important;
  border-color: #6366f1 !important;
  transition: all 0.15s ease;
  padding: 10px;
}

.btn-primary:hover {
  background-color: #4f46e5 !important;
  border-color: #4f46e5 !important;
}

a {
  color: #4f46e5;
  text-decoration: none;
}

a:hover {
  color: #3730a3;
  text-decoration: underline;
}

.form-signin .form-floating:focus-within {
  z-index: 2;
}

.form-signin input[type="text"] {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.form-signin input[type="password"]:first-of-type {
  border-radius: 0;
}

.form-signin input[type="password"]:last-of-type {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
