
.custom-bg {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: radial-gradient(800px 400px at 50% 40%, rgba(60,150,240,.25), transparent 70%), linear-gradient(180deg, #eff4f9 0%, #e8f1fb 100%);
  border-radius: 18px;
  overflow: hidden;
}
.custom-bg .custom-bg-overlay{ position:absolute; inset:0; background:#0b1a2a; opacity:0; pointer-events:none; }
.custom-bg--auto { min-height: auto; }
.custom-bg--fullscreen { min-height: 100vh; }

.custom-card {
  position: relative;
  z-index: 1;
  width: 420px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(26, 86, 219, .15), 0 6px 18px rgba(0,0,0,.06);
  padding: 26px 26px 20px;
  text-align: center;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.custom-header { margin: 4px 0 8px; }
.custom-card-title { font-size: 18px; margin-bottom: 12px; color: #0f172a; }

.custom-field { text-align: left; margin: 10px 0; }
.custom-field label { font-size: 12px; color: #475569; display: block; margin-bottom: 6px; }
.custom-field .input {
  width: 100%;
  padding: 12px;
  border: 1px solid #dbe7fb;
  border-radius: 12px;
  font-size: 14px;
  color:#0f172a;
}

.custom-login-button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 12px;
  background: #2a7ae4;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(42,122,228,.25);
  transition: background-color .2s ease;
}
.custom-login-button:hover { background: #1f65c2; }

.custom-error {
  display: none;
  background: #ff4d4f;
  color: #fff;
  padding: 10px;
  margin-bottom: 12px;
  border-radius: 8px;
  font-size: 12px;
}

.custom-lost { margin: 8px 0 6px; }
.custom-lost a { color:#1f65c2; text-decoration:none; font-size:12px; }
.custom-lost a:hover { text-decoration:underline; }

.custom-progress {
  height: 6px;
  width: 70%;
  border-radius: 999px;
  background: #e9f2fe;
  margin: 10px auto 6px;
  overflow: hidden;
}
.custom-progress .bar {
  height: 100%;
  width: 40%;
  background: #78b6ff;
  animation: slide 2s infinite ease-in-out;
}
@keyframes slide { 0% { transform: translateX(-60%);} 50% { transform: translateX(40%);} 100% { transform: translateX(140%);} }

.custom-logged{ padding:24px; }
.custom-continue{ display:inline-block;margin-top:10px;padding:8px 12px;border-radius:10px;background:#2a7ae4;color:#fff;text-decoration:none; }
@media (max-width:480px){ .custom-card{ width:92vw; } }
