/* Core.Blazor — centered “minimal” portal pages (sign-in, not found, etc.).
   Pair with <PortalMinimalPageLayout> and optional <PortalNotFoundDefaultContent>. */

.core-portal-minimal-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1.25rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 0%, rgba(97, 115, 251, 0.24), transparent 40%),
    radial-gradient(circle at 88% 100%, rgba(75, 95, 250, 0.2), transparent 44%),
    #f2f5fb;
}

.core-portal-minimal-shell__backdrop {
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.95) 0%, rgba(228, 235, 249, 0.9) 100%);
  pointer-events: none;
}

.core-portal-minimal-shell__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 32rem;
}

.core-portal-minimal-shell__header {
  margin-bottom: 1.1rem;
}

.core-portal-minimal-shell__brand-text {
  display: inline-block;
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 700;
  color: #121b30;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.core-portal-minimal-shell__tagline {
  margin: 0.35rem 0 0;
  font-size: 0.96rem;
  color: #47516a;
}

.core-portal-minimal-shell__card {
  background: #ffffff;
  border: 1px solid #cfd8ec;
  border-radius: 1rem;
  padding: 1.6rem;
  box-shadow: 0 18px 38px rgba(30, 43, 77, 0.16);
}

.core-portal-minimal-shell__footer {
  margin-top: 0.95rem;
  text-align: center;
  font-size: 0.75rem;
  color: #6d778f;
}

/* Card body typography (not found, copy blocks) */
.core-portal-minimal-card__title {
  color: #121b30;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
}

.core-portal-minimal-card__lead {
  color: #3f4963;
  font-size: 0.96rem;
  margin-bottom: 1rem;
}

.core-portal-minimal-card__link {
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--semantic-brand-primary, #4b5ffa);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.core-portal-minimal-card__link:hover {
  color: var(--semantic-brand-primary-hover, #4558e5);
}

/* Sign-in form (shared minimal card) */
.core-portal-minimal-shell__card .form-label {
  color: #2b3550;
  font-size: 0.83rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.core-portal-minimal-shell__card .form-control {
  border-color: #c6cee1;
  color: #111827;
  background: #ffffff;
}

.core-portal-minimal-shell__card .form-control:focus {
  border-color: #4b5ffa;
  box-shadow: 0 0 0 0.2rem rgba(75, 95, 250, 0.2);
}

.core-portal-minimal-shell__card .btn-primary {
  width: 100%;
  margin-top: 0.45rem;
  padding: 0.6rem 1rem;
  font-weight: 700;
  border: 1px solid #4558e5;
  background: linear-gradient(180deg, #4b5ffa 0%, #4558e5 100%);
  box-shadow: 0 8px 20px rgba(75, 95, 250, 0.28);
}

.core-portal-minimal-shell__card .btn-primary:hover {
  background: #3f50d1;
  border-color: #3f50d1;
}

.core-portal-minimal-shell__card .alert {
  border-radius: 0.6rem;
  font-size: 0.875rem;
}

@media (max-width: 640px) {
  .core-portal-minimal-shell {
    padding: 1rem;
  }

  .core-portal-minimal-shell__card {
    padding: 1.2rem;
    border-radius: 0.85rem;
  }
}
