body {
  background-color: #f7f9fc !important;
}

.auth-wrap {
  min-height: calc(100vh - 100px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.auth-card {
  max-width: 900px;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
  display: flex;
  background: #ffffff;
  border: 1px solid #e3e6ea;
}

.auth-side {
  flex: 1.1;
  background: linear-gradient(135deg, #262b31 0%, #1e2227 100%);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.auth-side::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 70% 30%, rgba(198, 40, 40, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.auth-side img {
  max-width: 260px;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .15));
  z-index: 1;
}

.auth-form {
  flex: 0.9;
  background: #ffffff;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-form h2 {
  font-weight: 800;
  color: #262b31;
  margin-bottom: 8px;
  font-size: 1.6rem;
  text-align: center;
}

.auth-title-divider {
  width: 40px;
  height: 3px;
  background-color: #c62828;
  margin: 0 auto 28px auto;
  border-radius: 2px;
}

.auth-form .form-label {
  color: #4f5b66;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.auth-form .input-group {
  border: 1px solid #d7dfe7;
  border-radius: 8px;
  background-color: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.auth-form .input-group:focus-within {
  border-color: #c62828;
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.12);
}

.auth-form .input-group-text {
  background-color: #f8fafc;
  color: #64748b;
  border: none;
  border-right: 1px solid #d7dfe7;
  padding-left: 14px;
  padding-right: 14px;
  font-size: 0.95rem;
}

.auth-form .form-control {
  border: none !important;
  box-shadow: none !important;
  padding: 11px 14px;
  font-size: 0.92rem;
  color: #111827;
  font-weight: 500;
  background: transparent;
}

.auth-form .form-control::placeholder {
  color: #9cbdcf;
  font-weight: 400;
  opacity: 0.7;
}

.auth-form .btn-outline-secondary {
  border: none;
  background: transparent;
  color: #64748b;
  padding-left: 14px;
  padding-right: 14px;
  transition: color 0.15s ease;
}

.auth-form .btn-outline-secondary:hover,
.auth-form .btn-outline-secondary:focus,
.auth-form .btn-outline-secondary:active {
  background: transparent !important;
  color: #c62828 !important;
  box-shadow: none !important;
}

.btn-login {
  background-color: #c62828;
  border: none;
  color: #ffffff;
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 12px rgba(198, 40, 40, 0.15);
  margin-top: 12px;
}

.btn-login:hover {
  background-color: #a81c1c;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(198, 40, 40, 0.25);
}

.btn-login:focus {
  background-color: #a81c1c;
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.25);
}

.btn-login:disabled {
  background-color: #e2e8f0;
  color: #94a3b8;
  box-shadow: none;
  cursor: not-allowed;
}

.caps-hint {
  display: none;
  font-size: 0.78rem;
  margin-top: 6px;
  font-weight: 600;
}

.auth-support {
  text-align: center;
  margin-top: 24px;
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 500;
}

.auth-support a {
  color: #c62828;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.auth-support a:hover {
  color: #a81c1c;
  text-decoration: underline;
}

.auth-support i {
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .auth-wrap {
    padding: 16px;
  }
  .auth-card {
    flex-direction: column;
    max-width: 460px;
  }
  .auth-side {
    padding: 32px;
  }
  .auth-side img {
    max-width: 200px;
  }
  .auth-form {
    padding: 32px;
  }
}
