/* static/admin_custom/login.css */
.login.custom-login {            /* sets gradient background */
  background: linear-gradient(135deg, #23272b 0%, #343a40 50%, #495057 100%);

  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.login-wrapper {
  max-width: 24rem;
  width: 100%;
  padding: 1.5rem;
}

.brand {
  text-align: center;
  margin-bottom: 1.5rem;
}
.brand img {
  height: 64px;                  /* adjust as needed */
}

.card {
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 6px 14px rgba(0,0,0,.15);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.field input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
}

.errornote {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.forgot {
  text-align: right;
  font-size: 0.875rem;
  margin-top: -0.5rem;
}

.btn-primary,
.btn-azure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-weight: 600;
  border-radius: 0.5rem;
  padding: 0.625rem 1rem;
  transition: background .15s ease;
}

.btn-primary {
  background: #2563eb;
  color: #fff;
}
.btn-primary:hover { background: #1e40af; }

.btn-azure {
  background: #eceff1;
  color: #111827;
}
.btn-azure:hover { background: #dbe1e5; }

.w-full { width: 100%; }

.divider {
  position: relative;
  text-align: center;
  height: 1rem;
  margin: .5rem 0;
}
.divider span {
  background: #fff;
  padding: 0 .5rem;
  position: relative;
  z-index: 1;
  font-size: .75rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e5e7eb;
  transform: translateY(-50%);
}
