/* Beneficiary self-service portal (distinct from admin panel) */

.beneficiary-portal-body {
  margin: 0;
  min-height: 100vh;
  background: #f4f6f9;
  color: #1a1d21;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.beneficiary-portal-body [data-lucide] {
  width: 1em;
  height: 1em;
  stroke-width: 2;
  vertical-align: -0.125em;
}

.beneficiary-portal-top {
  background: #fff;
  border-bottom: 1px solid #dee2e6;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.beneficiary-portal-top__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.beneficiary-portal-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}

.beneficiary-portal-brand img {
  width: 48px;
  height: 48px;
}

.beneficiary-portal-brand__text {
  line-height: 1.2;
}

.beneficiary-portal-brand__title {
  font-weight: 700;
  font-size: 1rem;
}

.beneficiary-portal-brand__sub {
  font-size: 0.8rem;
  color: #5c636a;
}

.beneficiary-portal-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-left: auto;
}

.beneficiary-portal-nav a {
  font-size: 0.9rem;
  padding: 0.35rem 0.65rem;
  border-radius: 0.35rem;
  text-decoration: none;
  color: #0d6efd;
}

.beneficiary-portal-nav a:hover {
  background: rgba(13, 110, 253, 0.08);
}

.beneficiary-portal-nav a.is-active {
  background: #0d6efd;
  color: #fff;
}

.beneficiary-portal-user {
  font-size: 0.85rem;
  color: #495057;
  max-width: 220px;
}

.beneficiary-portal-user [data-lucide] {
  width: 0.95rem;
  height: 0.95rem;
}

.beneficiary-portal-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 1rem 2.5rem;
}

.beneficiary-portal-card {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  padding: 1.25rem 1.35rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.beneficiary-portal-card h1 {
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
}

.beneficiary-portal-card .lead {
  font-size: 0.95rem;
  color: #5c636a;
  margin-bottom: 1rem;
}

.beneficiary-portal-dl dt {
  font-weight: 600;
  color: #495057;
}

.beneficiary-portal-dl dd {
  margin-bottom: 0.5rem;
}

.beneficiary-portal-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.beneficiary-portal-kpi {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 0.4rem;
  padding: 0.85rem 1rem;
}

.beneficiary-portal-kpi__value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0d6efd;
}

.beneficiary-portal-kpi__label {
  font-size: 0.8rem;
  color: #6c757d;
  margin-top: 0.15rem;
}

.beneficiary-portal-table-wrap {
  overflow-x: auto;
}

.beneficiary-portal-table {
  width: 100%;
  font-size: 0.875rem;
  border-collapse: collapse;
}

.beneficiary-portal-table th,
.beneficiary-portal-table td {
  padding: 0.5rem 0.65rem;
  border-bottom: 1px solid #e9ecef;
  text-align: left;
  vertical-align: top;
}

/* —— Convênios page —— */
.beneficiary-portal-page--convenios .beneficiary-portal-card--family {
  border-left: 4px solid #0d6efd;
}

.beneficiary-portal-section-head {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e9ecef;
}

.beneficiary-portal-section-head__icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.5rem;
  background: linear-gradient(145deg, rgba(13, 110, 253, 0.14), rgba(13, 110, 253, 0.05));
  color: #0d6efd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.beneficiary-portal-section-head__icon [data-lucide] {
  width: 1.2rem;
  height: 1.2rem;
}

.beneficiary-portal-section-head__text {
  min-width: 0;
}

.beneficiary-portal-section-head__title {
  font-size: 1.35rem;
  margin: 0 0 0.35rem;
  font-weight: 700;
  line-height: 1.25;
}

.beneficiary-portal-section-head__lead {
  margin: 0;
  font-size: 0.9rem;
  color: #5c636a;
  line-height: 1.5;
  max-width: 40rem;
}

.beneficiary-portal-card--enrollments .beneficiary-portal-section-head {
  margin-bottom: 1rem;
}

.beneficiary-portal-empty--inline {
  text-align: center;
  padding: 2rem 1.25rem;
  background: #f8f9fa;
  border-radius: 0.5rem;
  border: 1px dashed #ced4da;
}

.beneficiary-portal-empty__icon {
  font-size: 2.25rem;
  color: #adb5bd;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.beneficiary-portal-empty__icon [data-lucide] {
  width: 2rem;
  height: 2rem;
}

.beneficiary-portal-empty__title {
  font-weight: 600;
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
  color: #343a40;
}

.beneficiary-portal-empty__hint {
  max-width: 26rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.45;
}

.beneficiary-portal-empty--compact {
  padding: 1.35rem 1rem;
}

.beneficiary-portal-empty--compact .beneficiary-portal-empty__icon {
  font-size: 1.75rem;
  margin-bottom: 0.55rem;
}

.beneficiary-portal-empty--compact .beneficiary-portal-empty__icon [data-lucide] {
  width: 1.5rem;
  height: 1.5rem;
}

.beneficiary-portal-empty--compact .beneficiary-portal-empty__title {
  font-size: 0.98rem;
}

.beneficiary-portal-empty--compact .beneficiary-portal-empty__hint {
  max-width: 30rem;
  font-size: 0.84rem;
}

.beneficiary-portal-plan-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.beneficiary-portal-plan-card {
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  padding: 1rem 1.15rem;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.beneficiary-portal-plan-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.85rem;
  line-height: 1.3;
  color: #212529;
}

.beneficiary-portal-plan-meta {
  display: grid;
  grid-template-columns: minmax(5.5rem, auto) 1fr;
  gap: 0.4rem 1rem;
  margin: 0;
  padding: 0 0 1rem;
  border-bottom: 1px solid #e9ecef;
  font-size: 0.875rem;
}

.beneficiary-portal-plan-meta dt {
  margin: 0;
  font-weight: 600;
  color: #6c757d;
}

.beneficiary-portal-plan-meta dd {
  margin: 0;
  min-width: 0;
}

.beneficiary-portal-plan-card__deps {
  padding-top: 1rem;
}

.beneficiary-portal-plan-card__deps-heading {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6c757d;
  margin: 0 0 0.65rem;
}

.beneficiary-portal-enrollment-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  line-height: 1.25;
  white-space: nowrap;
}

.beneficiary-portal-enrollment-badge--active {
  background: #cfe2ff;
  color: #084298;
}

.beneficiary-portal-enrollment-badge--inactive {
  background: #e9ecef;
  color: #495057;
}

.beneficiary-portal-enrollment-badge--sm {
  font-size: 0.65rem;
  padding: 0.14rem 0.45rem;
}

.beneficiary-portal-enrollment-deps__empty {
  padding: 0.65rem 0.75rem;
  background: #f8f9fa;
  border: 1px dashed #dbe1e6;
  border-radius: 0.4rem;
  font-size: 0.78rem;
}

.beneficiary-portal-dep-stack {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.beneficiary-portal-dep-chip {
  padding: 0.5rem 0.65rem;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 0.4rem;
}

.beneficiary-portal-dep-chip__row {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
}

.beneficiary-portal-dep-chip__name {
  font-weight: 600;
  font-size: 0.8125rem;
  line-height: 1.3;
  min-width: 0;
  flex: 1 1 auto;
}

.beneficiary-portal-dep-chip__badge {
  flex-shrink: 0;
  align-self: flex-start;
}

.beneficiary-portal-dep-chip__kin {
  font-size: 0.75rem;
  margin-top: 0.2rem;
}

.beneficiary-portal-dep-chip__cpf {
  font-size: 0.7rem;
  margin-top: 0.25rem;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 575.98px) {
  .beneficiary-portal-plan-meta {
    grid-template-columns: 1fr;
    gap: 0.15rem 0;
  }

  .beneficiary-portal-plan-meta dt {
    margin-top: 0.5rem;
  }

  .beneficiary-portal-plan-meta dt:first-child {
    margin-top: 0;
  }

  .beneficiary-portal-plan-meta dd {
    padding-left: 0;
  }
}

.beneficiary-portal-table th {
  font-weight: 600;
  color: #495057;
  background: #f8f9fa;
}

.beneficiary-portal-login-shell {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
}

.beneficiary-portal-login-brand-link {
  text-decoration: none;
  color: inherit;
  border-radius: 10px;
  outline: none;
  transition: opacity 0.15s ease;
}

.beneficiary-portal-login-brand-link:hover {
  opacity: 0.92;
}

.beneficiary-portal-login-brand-link:hover .beneficiary-portal-login-brand__title {
  color: #0d6efd;
}

.beneficiary-portal-login-brand-link:focus-visible {
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.25);
}

.beneficiary-portal-login-card {
  width: 100%;
  max-width: min(100%, 22rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #fff;
  border: 1px solid rgba(24, 42, 90, 0.12);
  border-radius: 15px;
  padding: 1.75rem 1.35rem;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 0.35rem 1.25rem rgba(24, 42, 90, 0.12),
    0 1.25rem 2.5rem rgba(24, 42, 90, 0.07);
}

/* Login mode: convênios (IPMA) vs holerite (portal externo) */
.beneficiary-portal-login-mode {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}

.beneficiary-portal-login-mode__radio {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.beneficiary-portal-login-mode__radio:focus {
  outline: none;
}

#bp-login-kind-convenios:focus-visible ~ .beneficiary-portal-login-mode__track label[for="bp-login-kind-convenios"],
#bp-login-kind-holerite:focus-visible ~ .beneficiary-portal-login-mode__track label[for="bp-login-kind-holerite"] {
  outline: none;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.35);
}

.beneficiary-portal-login-mode__track {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  padding: 0.35rem;
  border-radius: 12px;
  background: rgba(24, 42, 90, 0.06);
  border: 1px solid rgba(24, 42, 90, 0.1);
}

.beneficiary-portal-login-mode__tab {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.65rem 0.55rem;
  border-radius: 9px;
  cursor: pointer;
  border: 1px solid transparent;
  background: transparent;
  color: #5c6a85;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
  user-select: none;
  min-width: 0;
}

.beneficiary-portal-login-mode__tab:hover {
  color: #182a5a;
  background: rgba(255, 255, 255, 0.55);
}

.beneficiary-portal-login-mode__tab-icon {
  flex-shrink: 0;
  width: 1.15rem;
  text-align: center;
  font-size: 0.95rem;
  opacity: 0.88;
}

.beneficiary-portal-login-mode__tab-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  line-height: 1.2;
}

.beneficiary-portal-login-mode__tab-title {
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.beneficiary-portal-login-mode__tab-desc {
  font-size: 0.68rem;
  font-weight: 500;
  opacity: 0.92;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#bp-login-kind-convenios:checked ~ .beneficiary-portal-login-mode__track label[for="bp-login-kind-convenios"],
#bp-login-kind-holerite:checked ~ .beneficiary-portal-login-mode__track label[for="bp-login-kind-holerite"] {
  background: #fff;
  color: #182a5a;
  border-color: rgba(24, 42, 90, 0.12);
  box-shadow: 0 1px 3px rgba(24, 42, 90, 0.12);
}

#bp-login-kind-convenios:checked ~ .beneficiary-portal-login-mode__track label[for="bp-login-kind-convenios"] .beneficiary-portal-login-mode__tab-icon,
#bp-login-kind-holerite:checked ~ .beneficiary-portal-login-mode__track label[for="bp-login-kind-holerite"] .beneficiary-portal-login-mode__tab-icon {
  color: #0d6efd;
  opacity: 1;
}

.beneficiary-portal-login-panels {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.beneficiary-portal-login-panel {
  display: none;
  flex-direction: column;
  gap: 1rem;
}

#bp-login-kind-convenios:checked ~ .beneficiary-portal-login-panels .beneficiary-portal-login-panel--convenios,
#bp-login-kind-holerite:checked ~ .beneficiary-portal-login-panels .beneficiary-portal-login-panel--holerite {
  display: flex;
}

@media (max-width: 380px) {
  .beneficiary-portal-login-mode__tab {
    flex-direction: column;
    text-align: center;
    padding: 0.6rem 0.4rem;
  }

  .beneficiary-portal-login-mode__tab-desc {
    white-space: normal;
    font-size: 0.62rem;
  }
}

.beneficiary-portal-login-page .beneficiary-portal-main {
  max-width: none;
  padding: 0;
}

.beneficiary-portal-login-page .beneficiary-portal-login-shell {
  min-height: 100vh;
  padding: 1.25rem 1rem;
  color: #182a5a;
  background-color: #f4f6f9;
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(13, 110, 253, 0.14), transparent 55%),
    radial-gradient(ellipse 90% 60% at 100% 100%, rgba(24, 42, 90, 0.08), transparent 50%),
    linear-gradient(168deg, #eef3fb 0%, #f4f6f9 42%, #e8eef8 100%);
  background-size: auto;
  background-repeat: no-repeat;
}

.beneficiary-portal-login-brand {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.beneficiary-portal-login-brand__logo {
  flex-shrink: 0;
  width: 3.7rem;
  height: 3.7rem;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid rgba(24, 42, 90, 0.12);
  background-color: #f4f6f9;
  padding: 0.1rem;
}

.beneficiary-portal-login-brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.beneficiary-portal-login-brand__title {
  margin: 0;
  font-weight: 700;
  font-size: clamp(1rem, .9rem + 0.55vw, 1.9rem);
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: #182a5a;
}

.beneficiary-portal-login-brand__subtitle {
  margin: 0.5rem 0 0;
  font-size: clamp(0.6rem, 0.6rem + 0.2vw, 1.0625rem);
  line-height: 1.45;
  color: #5c6a85;
}

.beneficiary-portal-login-lead {
  margin: 0;
  font-size: 0.92rem;
  color: #5c6a85;
  line-height: 1.45;
}

.beneficiary-portal-login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  margin: 0;
}

.beneficiary-portal-login-form__field {
  width: 100%;
}

.beneficiary-portal-login-form input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 0.9375rem;
  line-height: 1.45;
  min-height: 2.875rem;
  padding: 0.8rem 1rem;
  color: #182a5a;
  background-color: #f4f6f9;
  border: 1px solid rgba(24, 42, 90, 0.18);
  border-radius: 8px;
  outline: none;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
}

.beneficiary-portal-login-form input::placeholder {
  color: rgba(92, 106, 133, 0.75);
}

.beneficiary-portal-login-form input:focus {
  border-color: #0d6efd;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.18);
}

.beneficiary-portal-login-form button[type="submit"] {
  cursor: pointer;
  display: block;
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.4;
  color: #fff;
  background-color: #0d6efd;
  padding: 0.9rem 1.125rem;
  min-height: 2.875rem;
  border: none;
  border-radius: 8px;
  margin-top: 0.25rem;
  outline: none;
  transition:
    background-color 0.15s ease,
    transform 0.1s ease;
}

.beneficiary-portal-login-form button[type="submit"]:hover {
  background-color: #0b5ed7;
}

.beneficiary-portal-login-form button[type="submit"]:active {
  transform: scale(0.99);
}

/* Convênios login: links discretos (redefinir senha / solicitar acesso) */
.beneficiary-portal-login-convenios-help {
  margin-top: 0.75rem;
}

.beneficiary-portal-login-convenios-help__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 0.35rem;
  row-gap: 0.2rem;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: rgba(92, 106, 133, 0.75);
}

.beneficiary-portal-login-convenios-help__list li {
  display: inline-flex;
  align-items: center;
}

.beneficiary-portal-login-convenios-help__list li:not(:last-child)::after {
  content: '·';
  margin-left: 0.35rem;
  color: rgba(92, 106, 133, 0.55);
  pointer-events: none;
  user-select: none;
}

.beneficiary-portal-login-convenios-help__list a {
  color: #0d6efd;
  font-weight: 400;
  text-decoration: underline;
  text-decoration-color: rgba(13, 110, 253, 0.35);
  text-underline-offset: 0.12em;
}

.beneficiary-portal-login-convenios-help__list a:hover {
  text-decoration-color: rgba(13, 110, 253, 0.85);
  color: #0a58ca;
}

.beneficiary-portal-login-convenios-help__list a:focus-visible {
  outline: none;
  border-radius: 2px;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(13, 110, 253, 0.45);
}

/* Flash toasts (same GCP snackbar pattern as admin — docs/UI_UX_ADMIN.md §3) */
.beneficiary-portal-body .admin-flash-toast-container {
  --admin-gcp-toast-font: system-ui, "Segoe UI", roboto, "Helvetica Neue", helvetica, arial, sans-serif;
  z-index: 1100;
  width: min(100vw - 1.5rem, 26rem);
  max-width: min(100vw - 1.5rem, 26rem);
  pointer-events: none;
}

.beneficiary-portal-body .admin-flash-toast-container .toast {
  pointer-events: auto;
}

.beneficiary-portal-body .admin-flash-toast-container .admin-gcp-toast.toast {
  --bs-toast-max-width: none;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  font-family: var(--admin-gcp-toast-font);
}

.beneficiary-portal-body .admin-gcp-toast__shell {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 3.25rem;
  background: #fff;
  color: #202124;
  border: 1px solid #dadce0;
  border-radius: 8px;
  box-shadow:
    0 1px 2px rgba(60, 64, 67, 0.28),
    0 2px 6px 2px rgba(60, 64, 67, 0.12);
  overflow: hidden;
  animation: admin-gcp-toast-in 0.28s cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

@keyframes admin-gcp-toast-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .beneficiary-portal-body .admin-gcp-toast__shell {
    animation: none;
  }
}

.beneficiary-portal-body .admin-gcp-toast__accent {
  flex: 0 0 4px;
  background: #80868b;
}

.beneficiary-portal-body .admin-gcp-toast--error .admin-gcp-toast__accent {
  background: #d93025;
}

.beneficiary-portal-body .admin-gcp-toast--success .admin-gcp-toast__accent {
  background: #1e8e3e;
}

.beneficiary-portal-body .admin-gcp-toast__main {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.75rem 2.25rem 0.75rem 0.875rem;
}

.beneficiary-portal-body .admin-gcp-toast__title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #5f6368;
  line-height: 1.25;
  margin-bottom: 0.2rem;
}

.beneficiary-portal-body .admin-gcp-toast__title-icon {
  width: 0.95rem;
  height: 0.95rem;
  opacity: 0.9;
}

.beneficiary-portal-body .admin-gcp-toast--error .admin-gcp-toast__title-icon {
  color: #c5221f;
}

.beneficiary-portal-body .admin-gcp-toast--success .admin-gcp-toast__title-icon {
  color: #137333;
}

.beneficiary-portal-body .admin-gcp-toast__text {
  font-size: 0.875rem;
  line-height: 1.45;
  color: #3c4043;
  word-break: break-word;
}

.beneficiary-portal-body .admin-gcp-toast__dismiss {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  padding: 0.35rem;
  opacity: 0.55;
}

.beneficiary-portal-body .admin-gcp-toast__dismiss:hover {
  opacity: 0.85;
}

@media (max-width: 480px) {
  .beneficiary-portal-body .admin-flash-toast-container {
    width: min(100vw - 1rem, 26rem);
    max-width: min(100vw - 1rem, 26rem);
    bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
    padding-left: 0.75rem !important;
    padding-right: max(0.75rem, env(safe-area-inset-right, 0px)) !important;
  }
}

.beneficiary-portal-login-footer-note {
  font-size: 0.8rem;
  color: #5c6a85;
  margin-top: 0.1rem;
  text-align: center;
}

.beneficiary-portal-login-footer-note a {
  color: #0d6efd;
  font-weight: 500;
  text-decoration: none;
}

.beneficiary-portal-login-footer-note a:hover {
  text-decoration: underline;
}

.beneficiary-portal-login-footer-note__sep {
  margin: 0 0.2rem;
  color: rgba(92, 106, 133, 0.65);
}

.beneficiary-portal-whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1080;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.38);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.beneficiary-portal-whatsapp-float:hover {
  background: #1fb857;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(31, 184, 87, 0.42);
}

.beneficiary-portal-whatsapp-float:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.95),
    0 0 0 6px rgba(37, 211, 102, 0.42);
}

.beneficiary-portal-whatsapp-float .fa-whatsapp {
  font-size: 1.8rem;
  line-height: 1;
}

/* Portal access request (solicitar / definir senha) */
.beneficiary-portal-access-card .beneficiary-portal-access-form .form-control {
  border-radius: 0.5rem;
}

.beneficiary-portal-access-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.beneficiary-portal-access-steps li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: rgba(92, 106, 133, 0.75);
}

.beneficiary-portal-access-steps li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: rgba(92, 106, 133, 0.12);
  font-weight: 600;
  font-size: 0.75rem;
}

.beneficiary-portal-access-steps li.is-active {
  color: rgba(33, 37, 41, 0.95);
}

.beneficiary-portal-access-steps li.is-active span {
  background: rgba(13, 110, 253, 0.15);
  color: #0d6efd;
}

.beneficiary-portal-access-steps li.is-done {
  color: rgba(33, 37, 41, 0.85);
}

.beneficiary-portal-access-steps li.is-done span {
  background: rgba(25, 135, 84, 0.18);
  color: #198754;
}
