


[data-theme="dark"] 
/* Hide Google branding */



/* Hide translation banner */

body { top: 0 !important; }
/* Mobile */
@media (max-width: 480px) {
  
}
/* Float widget */

@media (max-width: 480px) {
  
}

/* GTranslate minimal fix */
.goog-te-gadget { font-size: 0 !important; }
.goog-te-gadget img { display: none !important; }
.goog-te-gadget .goog-te-combo {
  font-size: 13px !important;
  font-family: inherit !important;
  font-weight: 600 !important;
  padding: 6px 10px !important;
  border-radius: 8px !important;
  border: 1.5px solid var(--border, #E6E1D8) !important;
  background: var(--surface, #fff) !important;
  color: var(--text, #1a1410) !important;
  outline: none !important;
  box-shadow: none !important;
  cursor: pointer !important;
  max-width: 150px !important;
}
.goog-te-banner-frame { display: none !important; }
body { top: 0 !important; }
[data-theme="dark"] .goog-te-combo {
  background: var(--surface, #1a2030) !important;
  color: var(--text, #f0ede8) !important;
  border-color: rgba(255,255,255,.15) !important;
}

/* ── MODAL MOBILE FIX ────────────────────────────
   Center modal properly on all screen sizes
   Prevent it from appearing too low on mobile
─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .modal-overlay {
    align-items: center !important;
    justify-content: center !important;
    padding: 1rem !important;
    overflow-y: auto !important;
  }
  .modal,
  .modal.modal-auth {
    max-width: 100% !important;
    width: calc(100% - 2rem) !important;
    border-radius: 16px !important;
    max-height: 88vh !important;
    overflow-y: auto !important;
    margin: auto !important;
    position: relative !important;
    transform: none !important;
  }
  .modal-overlay.open .modal {
    transform: none !important;
  }
  /* Prevent body scroll when modal open */
  body.modal-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
  }
  /* Make modal body scrollable on small phones */
  .modal-body {
    max-height: 65vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  /* Profile Builder form inside modal */
  .modal-body .wppb-register-user,
  .modal-body .wppb-login-wrap {
    padding: 0 !important;
  }
  .modal-body .wppb-register-user input,
  .modal-body .wppb-login-wrap input {
    width: 100% !important;
    box-sizing: border-box !important;
    font-size: 16px !important; /* prevents iOS zoom */
  }
}
@media (max-width: 380px) {
  .modal, .modal.modal-auth {
    width: calc(100% - 1rem) !important;
    max-height: 85vh !important;
  }
  .modal-body { max-height: 60vh; }
  .modal-tabs { padding: .8rem 1rem 0 !important; }
  .modal-body { padding: 1rem !important; }
}
