:root {
  --sim-header-bg: rgba(0, 51, 102, 0.96);
  --sim-header-border: rgba(255, 215, 0, 0.2);
  --sim-header-link: rgba(255, 255, 255, 0.94);
  --sim-header-link-hover: #ffffff;
  --sim-header-plan: #ffe58f;
}

body { padding-top: 68px; }

.sim-header {
  background: var(--sim-header-bg) !important;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--sim-header-border);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16);
  padding: 0.46rem 0;
  z-index: 2050;
}


.sim-header__brand img,
.navbar-brand img {
  height: 34px !important;
  width: auto;
  max-width: 210px;
  object-fit: contain;
}

.sim-header__nav,
.nav-actions {
  gap: 1.25rem;
}

.sim-header__link,
.nav-actions .nav-menu-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.2rem 0;
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--sim-header-link) !important;
  text-decoration: none !important;
  white-space: nowrap;
  border: 0;
  background: transparent;
  line-height: 1.2;
}

.sim-header__link i {
  font-size: 0.84rem;
}

.sim-planning-bell-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-left: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
}

.sim-planning-bell {
  color: #dc2626;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  line-height: 1;
  transform-origin: top center;
  animation: simBellGentleNudge 2.4s ease-in-out infinite;
}

@keyframes simBellGentleNudge {
  0%, 40%, 100% { transform: rotate(0deg) scale(1); }
  7% { transform: rotate(8deg) scale(1.02); }
  14% { transform: rotate(-6deg) scale(1.02); }
  21% { transform: rotate(5deg) scale(1.01); }
  28% { transform: rotate(-3deg) scale(1.01); }
}

@media (prefers-reduced-motion: reduce) {
  .sim-planning-bell {
    animation: none;
  }
}

.sim-header__link:hover,
.sim-header__link:focus,
.nav-actions .nav-menu-link:hover,
.nav-actions .nav-menu-link:focus {
  color: var(--sim-header-link-hover) !important;
  opacity: 0.9;
  text-decoration: none !important;
}

.sim-header__plan,
#userPlanText {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--sim-header-plan) !important;
  font-size: 0.96rem;
  font-weight: 600;
  white-space: nowrap;
}

.sim-header__plan,
#userPlanText {
  margin-left: 0.25rem;
  margin-right: 0.5rem;
}

.sim-header__login,
.btn-login {
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  --bs-btn-focus-color: #fff;
  --bs-btn-active-color: #fff;
  --bs-btn-disabled-color: #fff;
  --bs-btn-border-color: rgba(255, 255, 255, 0.34);
  --bs-btn-hover-border-color: rgba(255, 255, 255, 0.52);
  --bs-btn-focus-border-color: rgba(255, 255, 255, 0.52);
  --bs-btn-active-border-color: rgba(255, 255, 255, 0.56);
  background: rgba(255, 255, 255, 0.1);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.34);
  padding: 0.34rem 0.72rem;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.sim-header__login i {
  font-size: 0.8rem;
}

.sim-header__login:hover,
.sim-header__login:focus,
.sim-header__login:active,
.btn-login:hover,
.btn-login:focus,
.btn-login:active {
  background: rgba(255, 255, 255, 0.2);
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.52);
}

.sim-header[data-auth-loading="1"] #userPlanText {
  visibility: hidden;
}

.sim-header[data-auth-loading="1"] #loginDropdown {
  min-width: 94px;
}

.sim-header[data-auth-loading="1"] #loginDropdown .auth-label::before {
  content: "...";
}


.nav-actions .dropdown { display: inline-flex; align-items: center; }

.sim-header__user-block {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sim-header .sim-header__user-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.sim-header .sim-header__user-name {
  margin-top: 3px;
  font-size: 0.72rem;
  cursor: pointer;
  line-height: 1;
  color: rgba(255, 255, 255, 0.82);
  max-width: 72px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

.sim-header .sim-header__user-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 210px;
  margin: 0;
  padding: 0.45rem;
  list-style: none;
  border: 1px solid rgba(226, 237, 248, 0.9);
  border-radius: 12px;
  background: #fff;
  color: #1f2937;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.18);
  z-index: 3000;
  display: none;
}

.sim-header .sim-header__user-menu.is-open {
  display: block;
}

.sim-header .sim-header__user-menu .dropdown-item {
  width: 100%;
  text-align: left;
}

@media (max-width: 640px) {
  .sim-header__user-name {
    display: none;
  }
}

/* [HEADER-AUTH-FIX-20260511] dropdown-menu-login runtime marker */
.dropdown-menu-login {
  position: fixed !important;
  top: max(70px, calc(var(--bs-navbar-height, 64px) + 10px)) !important;
  right: 16px !important;
  left: auto !important;
  inset: auto 16px auto auto !important;
  width: min(420px, calc(100vw - 32px));
  min-width: min(340px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 90px);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 1.2rem;
  border: 1px solid rgba(226, 237, 248, 0.9);
  border-radius: 20px;
  box-shadow: 0 20px 58px rgba(0, 51, 102, 0.24);
  margin-top: 0.7rem !important;
}

.dropdown-menu-login form {
  padding-bottom: 32px;
}

.dropdown-menu-login.show {
  position: fixed !important;
  top: max(70px, calc(var(--bs-navbar-height, 64px) + 10px)) !important;
  right: 16px !important;
  left: auto !important;
  inset: auto 16px auto auto !important;
  width: min(420px, calc(100vw - 32px)) !important;
  min-width: 320px !important;
  max-width: calc(100vw - 32px) !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: none !important;
  z-index: 3000 !important;
  max-height: calc(100vh - 90px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.dropdown-menu-login input,
.dropdown-menu-login button,
.dropdown-menu-login .form-control,
.dropdown-menu-login .btn {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.dropdown-menu-login .btn {
  text-align: center;
  white-space: nowrap;
}

#registerFormHeader {
  padding-bottom: 48px !important;
}

.dropdown-menu-login [data-auth-view="register"] {
  max-height: none !important;
  overflow: visible !important;
  padding-bottom: 24px;
}

.dropdown-menu-login .auth-view,
.dropdown-menu-login .register-view,
.dropdown-menu-login .login-view {
  overflow: visible;
  max-height: none;
}

@media (max-width: 768px) {
  .dropdown-menu-login {
    top: 68px !important;
    left: 8px !important;
    right: 8px !important;
    inset: 68px 8px auto 8px !important;
    min-width: 0 !important;
    max-width: calc(100vw - 16px) !important;
    width: auto !important;
    max-height: calc(100vh - 84px) !important;
  }

  .dropdown-menu-login.show {
    top: 68px !important;
    left: 8px !important;
    right: 8px !important;
    inset: 68px 8px auto 8px !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    max-height: calc(100vh - 84px) !important;
  }
}

#loginArea,
.sim-header,
.sim-header__inner,
.navbar,
.header {
  overflow: visible;
}


.dropdown-menu-login .card-logo {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  color: var(--sim-blue-dark, #003366);
  box-shadow: 0 10px 22px rgba(255, 215, 0, 0.2);
  font-size: 1.15rem;
}

.dropdown-menu-login .btn-primary {
  background: linear-gradient(135deg, #0066cc 0%, #ffd700 100%);
  border: 0;
  color: #fff;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 102, 204, 0.2);
}

.dropdown-menu-login .btn-primary:hover,
.dropdown-menu-login .btn-primary:focus,
.dropdown-menu-login .btn-primary:active {
  color: #fff;
  filter: brightness(0.96);
}

.dropdown-menu-login .form-label {
  font-weight: 750;
  color: var(--sim-blue-dark, #003366);
  margin-bottom: 0.42rem;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.dropdown-menu-login .form-control {
  border-radius: 13px;
  border: 1px solid var(--sim-border, #dce8f7);
  padding: 0.72rem 0.9rem;
  font-weight: 520;
  background: rgba(255, 255, 255, 0.96);
}

.dropdown-menu-login .form-control:focus {
  border-color: var(--sim-blue, #0066cc);
  box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.13);
  background: #fff;
}

.dropdown-menu-login .auth-panel-title {
  color: var(--sim-blue-dark, #003366);
}

.dropdown-menu-login .auth-panel-subtitle {
  color: #6b7c93;
  font-size: 0.82rem;
}

.dropdown-menu-login .auth-inline-alert {
  border-radius: 10px;
  font-size: 0.85rem;
  margin-bottom: 0.85rem;
}

.dropdown-menu-login .auth-back-link {
  color: #6b7c93;
  text-decoration: none;
  font-weight: 600;
}

.dropdown-menu-login .auth-back-link:hover {
  color: var(--sim-blue, #0066cc);
  text-decoration: underline;
}


/* Global footer styles */
.modern-footer {
  background: linear-gradient(145deg, #1c2f42 0%, #253a4f 52%, #2b3f54 100%);
  color: #fff;
  padding: 2.15rem 0 1.15rem;
  margin-top: 2.4rem;
  position: relative;
}

.modern-footer .container {
  max-width: 1120px;
}

.modern-footer::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--sim-blue, #0066cc) 0%,
    var(--sim-yellow, #ffd700) 50%,
    var(--sim-blue, #0066cc) 100%
  );
}

.sim-account-page {
  max-width: 860px;
}

.sim-account-card {
  background: #fff;
  border: 1px solid #e3ebf5;
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 10px 26px rgba(4, 32, 68, 0.08);
}

.sim-account-field {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  background: #f8fbff;
  border: 1px solid #e3ebf5;
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
}

.sim-account-field .label {
  font-size: 0.82rem;
  color: #5f6f86;
  font-weight: 600;
}

.sim-account-field .value {
  color: #162b46;
  font-weight: 600;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 1.8rem;
  align-items: start;
}

.footer-column {
  min-width: 0;
}

.footer-id {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-logo {
  height: 2.2rem;
  width: auto;
  object-fit: contain;
}

.footer-social {
  display: flex;
  gap: 0.58rem;
  align-items: center;
  flex-wrap: wrap;
}

.social-link {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.88rem;
  transition: all 0.2s ease;
}

.social-link:hover {
  background: rgba(255, 215, 0, 0.16);
  border-color: rgba(255, 215, 0, 0.45);
  color: var(--sim-yellow, #ffd700);
  transform: translateY(-1px);
}

.footer-contact .contact-text {
  margin: 0;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
}

.contact-email {
  color: var(--sim-yellow, #ffd700);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.93rem;
}

.contact-email:hover {
  color: var(--sim-yellow-light, #ffe066);
  text-decoration: underline;
}

.footer-location {
  margin: 0.22rem 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.81rem;
}

.footer-title {
  margin: 0 0 0.7rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.46rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--sim-yellow, #ffd700);
}

.footer-cta p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
  max-width: 34ch;
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  flex-wrap: wrap;
  margin-top: 0.95rem;
}

.footer-actions .btn-premium-glow {
  display: inline-flex;
  align-items: center;
  padding: 0.52rem 0.92rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f2740;
  text-decoration: none;
  background: linear-gradient(145deg, #ffd857 0%, #f5c518 100%);
  border: 1px solid rgba(15, 39, 64, 0.22);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.footer-actions .btn-premium-glow:hover {
  color: #0b223a;
  background: linear-gradient(145deg, #ffe480 0%, #f8cf3a 100%);
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.24);
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.footer-actions .btn-footer-login {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.46rem 0.66rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-actions .btn-footer-login:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.09);
}

.footer-divider {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin: 1.15rem 0 0.85rem;
}

.footer-bottom {
  text-align: center;
}

.footer-disclaimer p {
  margin: 0 auto;
  max-width: 900px;
  font-size: 0.74rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.66);
}

.footer-disclaimer strong {
  color: rgba(255, 255, 255, 0.9);
}

.footer-copyright {
  margin-top: 0.62rem;
}

.footer-copyright p {
  margin: 0;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
  .modern-footer {
    padding: 1.35rem 0 0.95rem;
    margin-top: 2rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .footer-links {
    gap: 0.4rem;
  }

  .footer-cta p {
    max-width: none;
  }

  .footer-actions {
    justify-content: flex-start;
  }

  .footer-disclaimer p,
  .footer-copyright p {
    text-align: left;
  }
}

#userMenuDropdown {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sim-header__user-menu-toggle {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.sim-header__user-menu-toggle i { font-size: 1.1rem; }

.sim-header__user-menu-toggle:hover,
.sim-header__user-menu-toggle:focus,
.sim-header__user-menu-toggle:active {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.52);
}

.sim-header__user-menu {
  min-width: 210px;
  padding: 0.4rem;
  margin-top: 0.7rem !important;
  border: 1px solid rgba(226, 237, 248, 0.9);
  border-radius: 14px;
  box-shadow: 0 20px 58px rgba(0, 51, 102, 0.24);
}

.sim-header__user-menu .dropdown-item {
  border-radius: 10px;
  padding: 0.58rem 0.72rem;
  font-weight: 550;
}

.sim-header__user-menu .dropdown-item:hover,
.sim-header__user-menu .dropdown-item:focus {
  background: rgba(0, 102, 204, 0.08);
}

.sim-header[data-auth-loading="1"] #userMenuDropdown {
  visibility: hidden;
}

.sim-user-modal .modal-content {
  border-radius: 16px;
}

.sim-user-data-grid {
  display: grid;
  gap: 0.7rem;
}

.sim-atendimento-root { position: fixed; left: 22px; bottom: 22px; z-index: 1045; }
.sim-atendimento-toggle { border: 0; border-radius: 999px; padding: 11px 16px; background: #003366; color: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.18); font-weight: 600; }
.sim-atendimento-panel { width: 340px; max-width: calc(100vw - 24px); background: #fff; border-radius: 14px; box-shadow: 0 18px 36px rgba(0,0,0,.2); margin-top: 10px; overflow: hidden; }
.sim-atendimento-header { background: #f7faff; padding: 12px; position: relative; border-bottom: 1px solid #e8eef5; }
.sim-atendimento-header h6 { margin: 0; font-weight: 700; }
.sim-atendimento-header p { margin: 4px 24px 0 0; font-size: 12px; color: #4f5b67; }
.sim-atendimento-close { position: absolute; right: 10px; top: 8px; border: 0; background: transparent; font-size: 20px; }
.sim-atendimento-messages { height: 300px; overflow-y: auto; padding: 12px; background: #fff; }
.sim-atendimento-msg { display: flex; margin-bottom: 8px; }
.sim-atendimento-msg.user { justify-content: flex-end; }
.sim-atendimento-bubble { max-width: 85%; border-radius: 12px; padding: 8px 10px; background: #eef4fb; }
.sim-atendimento-msg.user .sim-atendimento-bubble { background: #003366; color: #fff; }
.sim-atendimento-footer { padding: 10px; border-top: 1px solid #edf1f5; display: grid; gap: 8px; }
.sim-atendimento-input { min-height: 64px; max-height: 120px; resize: vertical; border: 1px solid #dce5ee; border-radius: 10px; padding: 8px; }
.sim-atendimento-status { font-size: 12px; color: #4f5b67; min-height: 14px; }
@media (max-width: 768px){ .sim-atendimento-root{ left: 12px; bottom: 12px; } .sim-atendimento-toggle{ padding: 9px 12px; font-size: 14px; } .sim-atendimento-panel{ width: min(96vw, 360px);} }

body.modal-open {
  overflow: hidden;
}


.sim-terms-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  max-width: 560px;
  width: calc(100% - 48px);
  z-index: 1030;
  background: rgba(255, 255, 255, 0.96);
  color: #0b315f;
  border: 1px solid rgba(11, 49, 95, 0.10);
  box-shadow: 0 18px 45px rgba(5, 25, 55, 0.18);
  border-radius: 18px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  backdrop-filter: blur(10px);
}

.sim-terms-banner__text {
  flex: 1;
  font-size: 0.92rem;
  line-height: 1.35;
  margin: 0;
  color: #0b315f;
}

.sim-terms-banner a {
  color: #0d6efd;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sim-terms-banner__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.sim-terms-banner__btn {
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.86rem;
  font-weight: 700;
  border: 1px solid rgba(13, 110, 253, 0.35);
  background: #fff;
  color: #0d6efd;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sim-terms-banner__btn--primary {
  background: #0d6efd;
  color: #fff;
  border-color: #0d6efd;
}

body.sim-terms-banner-visible {
  padding-bottom: 96px;
}

body.auth-dropdown-open .sim-terms-banner {
  display: none !important;
}

@media (max-width: 768px) {

  .sim-terms-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    max-width: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
  }

  .sim-terms-banner__actions {
    justify-content: flex-end;
  }

  body.sim-terms-banner-visible {
    padding-bottom: 120px;
  }
}

.modal-backdrop {
  z-index: 1990 !important;
}

.modal {
  z-index: 2000 !important;
}

.modal-dialog,
.modal-content {
  position: relative;
  z-index: 2001;
}

/* AUTH DROPDOWN HARD FIX - 20260511 */
.dropdown-menu-login,
.dropdown-menu-login.show {
  position: fixed !important;
  top: 72px !important;
  right: 24px !important;
  left: auto !important;
  bottom: auto !important;
  transform: none !important;
  width: min(420px, calc(100vw - 48px)) !important;
  max-width: calc(100vw - 48px) !important;
  max-height: calc(100vh - 96px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  z-index: 2147483000 !important;
  box-sizing: border-box !important;
}

.dropdown-menu-login * {
  box-sizing: border-box !important;
}

.dropdown-menu-login input,
.dropdown-menu-login button,
.dropdown-menu-login .form-control,
.dropdown-menu-login .btn {
  max-width: 100% !important;
}

@media (max-width: 768px) {
  .dropdown-menu-login,
  .dropdown-menu-login.show {
    top: 72px !important;
    right: 12px !important;
    left: 12px !important;
    width: auto !important;
    max-width: calc(100vw - 24px) !important;
    max-height: calc(100vh - 96px) !important;
  }
}

.sim-terms-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(8, 15, 30, 0.66);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.sim-terms-overlay__card {
  width: min(760px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.24);
  padding: 1.25rem;
}

/* Cookie banner visitante - versão compacta refinada */
.sim-terms-banner {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: min(920px, calc(100vw - 32px));
  z-index: 1080;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 102, 204, 0.16);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(10px);
}

.sim-terms-banner__text {
  flex: 1;
  color: #17345c;
  font-size: 0.98rem;
  line-height: 1.45;
}

.sim-terms-banner__text::before {
  content: "🍪";
  display: inline-flex;
  margin-right: 8px;
}

.sim-terms-banner__text a {
  color: #005fcc;
  font-weight: 700;
  text-decoration: none;
}

.sim-terms-banner__text a:hover {
  text-decoration: underline;
}

.sim-terms-banner__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.sim-terms-banner__btn {
  border: 1px solid rgba(0, 102, 204, 0.28);
  background: #ffffff;
  color: #0052b3;
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.2s ease;
}

.sim-terms-banner__btn:hover {
  background: #eef6ff;
  color: #003f8f;
}

.sim-terms-banner__btn--primary {
  border-color: #0066cc;
  background: linear-gradient(135deg, #0066cc, #004fa3);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.22);
}

.sim-terms-banner__btn--primary:hover {
  background: linear-gradient(135deg, #005bbb, #003f8f);
  color: #ffffff;
}

@media (max-width: 720px) {
  .sim-terms-banner {
    align-items: stretch;
    flex-direction: column;
    bottom: 14px;
    padding: 16px;
  }

  .sim-terms-banner__actions {
    width: 100%;
  }

  .sim-terms-banner__btn {
    flex: 1;
    text-align: center;
  }
}

/* ===== FIX CHECKBOX LEMBRAR-ME ===== */

.dropdown-menu-login .form-check {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding-left: 0;
  margin-top: -0.15rem;
}

.dropdown-menu-login .form-check-input {
  width: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  border: 1.8px solid #b8c7db;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: none !important;
  flex-shrink: 0;
}

.dropdown-menu-login .form-check-input:checked {
  background-color: #0066cc;
  border-color: #0066cc;
}

.dropdown-menu-login .form-check-input:focus {
  border-color: #0066cc;
  box-shadow: 0 0 0 0.18rem rgba(0, 102, 204, 0.16) !important;
}

.dropdown-menu-login .form-check-label {
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: #4b5563;
  cursor: pointer;
  line-height: 1;
}

