:root {
  --primary: #2563eb;
  --primary-600: #1d4ed8;
  --ink: #0f172a;
  --muted: #64748b;
  --border: #dbe3ef;
}

* {
  box-sizing: border-box;
}

body.auth-body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 14%, rgba(96, 165, 250, 0.35), transparent 35%),
    radial-gradient(circle at 88% 82%, rgba(59, 130, 246, 0.32), transparent 36%),
    linear-gradient(135deg, #0f172a 0%, #1e3a8a 45%, #2563eb 100%);
}

.auth-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 14px;
}

.auth-card {
  width: 100%;
  max-width: 460px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 18px;
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.26);
  padding: 28px 24px;
  backdrop-filter: blur(8px);
}

.auth-card__brand {
  /*display: flex;*/
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.brand-icon {
  /*width: 48px;
  height: 48px;*/
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
 /* background: linear-gradient(135deg, var(--primary), #60a5fa);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.35);*/
}

.auth-card__brand h1 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
}

.auth-card__brand p {
  margin: 2px 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.form-label {
  font-weight: 600;
  font-size: 0.9rem;
}

.input-group-modern {
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-group-modern:focus-within {
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}

.input-group-modern .input-group-text,
.input-group-modern .form-control {
  border: 0;
  background: #fff;
}

.input-group-modern .input-group-text {
  color: #64748b;
}

.input-group-modern .form-control:focus {
  box-shadow: none;
}

.auth-submit {
  min-height: 46px;
  border-radius: 12px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), #3b82f6);
  border-color: transparent;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.auth-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.34);
}

.auth-submit:disabled {
  opacity: 0.9;
}

@media (max-width: 575.98px) {
  .auth-card {
    padding: 22px 16px;
    border-radius: 14px;
  }
}

.form-control.is-invalid {
    border-color: #dc3545 !important;
}

.form-control.is-invalid:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25) !important;
}

.form-control:focus {
  border-color: #86b7fe;
  box-shadow: 0 0 0 .25rem rgba(13,110,253,.25);
}

.confirm-box {
    background: #f3f4f6;
    padding: 15px;
    border-radius: 12px;
}

.confirm-error {
    font-size: 14px;
    margin-left: 28px;
    display: none;
}

/* Error state */
.confirm-box.error .form-check-label {
    color: #dc3545;
}

.confirm-box.error .form-check-input {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220,53,69,.25);
}

.confirm-box.error .confirm-error {
    display: block;
    color: #dc3545;
}

/* Success state */
.confirm-box.success .form-check-label {
    color: #198754;
}

.confirm-box.success .form-check-input {
    background-color: #198754;
    border-color: #198754;
}
.characters-invalid-feedback
{
	color: #198754;
}

