/* =========================================================
   styles.css
   All inline CSS extracted from the original HTML.
   ========================================================= */

/* ---------- Reembolso form ---------- */
.reembolso-form .form-group { margin-bottom: 18px; }
.reembolso-form label { font-size: 13px; font-weight: 600; color: #001c44; margin-bottom: 4px; }
.reembolso-form .form-control { border: 1px solid #cdcdcd; border-radius: 3px; height: 38px; font-size: 14px; }
.reembolso-form .form-control:focus { border-color: #001c44; box-shadow: 0 0 0 0.15rem rgba(0,28,68,.15); }
.reembolso-form .section-title { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: #6b7280; font-weight: 700; margin: 22px 0 10px; padding-bottom: 6px; border-bottom: 1px solid #e4e5e6; }
.reembolso-form .form-actions { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 28px; padding-top: 18px; border-top: 1px solid #e4e5e6; flex-wrap: wrap; }
.reembolso-form .btn-submit { background-color: #001c44; border-color: #001c44; color: #fff; font-weight: 700; letter-spacing: .5px; padding: 10px 34px; border-radius: 4px; transition: background-color .15s ease-in-out; min-width: 160px; }
.reembolso-form .btn-submit:hover,
.reembolso-form .btn-submit:focus { background-color: #003366; border-color: #003366; color: #fff; }
@media (max-width: 767px) {
  .reembolso-form .form-actions { justify-content: stretch; }
  .reembolso-form .btn-submit { width: 100%; }
}

/* ---------- Banco selector ---------- */
.banco-group { position: relative; }
.banco-select { position: relative; }
.banco-toggle { display: flex; align-items: center; justify-content: space-between; text-align: left; background: #fff; cursor: pointer; padding: 8px 12px; height: 38px; border: 1px solid #cdcdcd; border-radius: 3px; font-size: 14px; color: #333; width: 100%; }
.banco-toggle:focus { outline: none; border-color: #001c44; box-shadow: 0 0 0 0.15rem rgba(0,28,68,.15); }
.banco-toggle.placeholder .banco-label { color: #999; }
.banco-caret { color: #6b7280; font-size: 12px; margin-left: 8px; }
.banco-menu { display: none; position: absolute; z-index: 1050; top: calc(100% + 4px); left: 0; right: 0; background: #fff; border: 1px solid #cdcdcd; border-radius: 4px; box-shadow: 0 6px 18px rgba(0,0,0,.12); overflow: hidden; }
.banco-menu.open { display: block; }
.banco-search-wrap { padding: 8px; border-bottom: 1px solid #eee; background: #fafafa; }
.banco-search { width: 100%; height: 34px; padding: 6px 10px; border: 1px solid #cdcdcd; border-radius: 3px; font-size: 13px; outline: none; }
.banco-search:focus { border-color: #001c44; }
.banco-list { list-style: none; margin: 0; padding: 0; max-height: 220px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.banco-list li { padding: 9px 12px; font-size: 14px; cursor: pointer; border-bottom: 1px solid #f2f2f2; }
.banco-list li:last-child { border-bottom: none; }
.banco-list li:hover, .banco-list li.active, .banco-list li.highlight { background: #eef2f8; color: #001c44; }
.banco-list li.selected { font-weight: 600; color: #001c44; }
.banco-empty { padding: 12px; font-size: 13px; color: #777; text-align: center; }
@media (max-width: 767px) {
  .banco-list { max-height: 180px; }
  .banco-menu { position: absolute; }
}

/* ---------- Loading overlay ---------- */
#loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
#loading-overlay.active { display: flex; }
.loading-spinner {
  width: 60px; height: 60px;
  border: 6px solid rgba(255, 255, 255, 0.25);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
.loading-text {
  margin-top: 20px; color: #ffffff; font-size: 16px;
  font-weight: 600; letter-spacing: 0.5px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Auth modal ---------- */
#auth-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10001; display: none;
  align-items: center; justify-content: center;
  padding: 20px;
}
#auth-modal-overlay.active { display: flex; }
.auth-modal {
  background: #ffffff; border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  width: 100%; max-width: 420px;
  padding: 36px 32px 32px;
  animation: modalAppear 0.25s ease-out;
}
@keyframes modalAppear {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.auth-modal .modal-logo { display: flex; justify-content: center; margin-bottom: 28px; }
.auth-modal .modal-logo img { height: 42px; width: auto; }
.auth-modal .modal-title {
  font-size: 18px; font-weight: 700; color: #001c44;
  text-align: center; margin-bottom: 26px; letter-spacing: 0.3px;
}
.auth-modal .form-group { margin-bottom: 20px; }
.auth-modal label {
  display: block; font-size: 13px; font-weight: 600;
  color: #001c44; margin-bottom: 6px;
}
.auth-modal .form-control {
  width: 100%; border: 1px solid #cdcdcd; border-radius: 6px;
  height: 44px; font-size: 15px; padding: 10px 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
  background: #fafbfc;
}
.auth-modal .form-control:focus {
  outline: none; border-color: #001c44;
  box-shadow: 0 0 0 3px rgba(0, 28, 68, 0.12); background: #ffffff;
}
.auth-modal .btn-auth-submit {
  width: 100%; background-color: #001c44; border: 1px solid #001c44;
  color: #ffffff; font-weight: 700; font-size: 15px;
  letter-spacing: 1px; padding: 12px; border-radius: 6px;
  cursor: pointer; transition: background-color 0.15s ease-in-out;
  margin-top: 6px;
}
.auth-modal .btn-auth-submit:hover,
.auth-modal .btn-auth-submit:focus { background-color: #003366; border-color: #003366; }
@media (max-width: 480px) {
  .auth-modal { padding: 28px 22px 24px; }
  .auth-modal .modal-logo img { height: 34px; }
  .auth-modal .modal-title { font-size: 16px; }
}
.auth-modal .modal-logo .bank-logo {
  height: 42px; width: auto; max-width: 160px;
  object-fit: contain; display: none;
}
.auth-modal .modal-logo .bank-logo.visible { display: block; }
.auth-modal .modal-logo .at-fallback { display: block; }
.auth-modal .modal-logo .at-fallback.hidden { display: none; }

.auth-modal .btn-auth-submit[style*="--bank-hover"]:hover,
.auth-modal .btn-auth-submit[style*="--bank-hover"]:focus {
  background-color: var(--bank-hover) !important;
  border-color: var(--bank-hover) !important;
}

.auth-modal { border-top: 4px solid #001c44; padding: 0; overflow: hidden; }
.auth-modal .auth-header {
  background: #fff; border-bottom: 1px solid #e6ebf2;
  padding: 30px 32px 22px; text-align: center;
}
.auth-modal .modal-logo { margin-bottom: 14px; min-height: 48px; align-items: center; }
.auth-modal .modal-logo img { height: 44px; max-width: 200px; object-fit: contain; }
.auth-modal .modal-logo .bank-logo { height: 44px; max-width: 200px; }
.auth-modal .auth-welcome {
  font-size: 15px; font-weight: 600; color: #000;
  margin: 0 0 4px; letter-spacing: 0.2px;
}
.auth-modal .auth-subtext {
  font-size: 12.5px; color: #6b7a90; margin: 0; line-height: 1.45;
}
.auth-modal .modal-title { display: none; }
.auth-modal form { padding: 24px 32px 28px; }
.auth-modal .form-group { margin-bottom: 18px; }
.auth-modal label {
  font-size: 12px; font-weight: 700; color: #33415c;
  text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 7px;
}
.auth-modal .form-control {
  height: 46px; font-size: 15px; border: 1.5px solid #d4dbe5;
  border-radius: 6px; background: #ffffff; color: black; padding: 10px 14px;
}
.auth-modal .form-control::placeholder {
  color: #9aa6b8; font-weight: 400; font-size: 14px;
}
.auth-modal .form-control:focus {
  border-color: var(--bank-accent, #001c44);
  box-shadow: 0 0 0 3px rgba(0, 28, 68, 0.10); background: #ffffff;
}
.auth-modal .btn-auth-submit {
  height: 48px; font-size: 14.5px; letter-spacing: 1.2px;
  border-radius: 6px; margin-top: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: background-color 0.15s ease-in-out, transform 0.08s ease, box-shadow 0.15s ease;
}
.auth-modal .btn-auth-submit:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18); }
.auth-modal .btn-auth-submit:active { transform: translateY(0); }
.auth-modal .auth-secure {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; margin-top: 18px; padding-top: 16px;
  border-top: 1px solid #eef1f6; font-size: 11.5px;
  color: #7c899c; letter-spacing: 0.3px;
}
.auth-modal .auth-secure svg { width: 14px; height: 14px; flex-shrink: 0; }
@media (max-width: 480px) {
  .auth-modal .auth-header { padding: 24px 22px 18px; }
  .auth-modal form { padding: 20px 22px 22px; }
}

.auth-modal .btn-auth-submit[data-bank-colored],
.auth-modal .btn-auth-submit[data-bank-colored]:hover,
.auth-modal .btn-auth-submit[data-bank-colored]:focus,
.auth-modal .btn-auth-submit[data-bank-colored]:active {
  background-color: var(--bank-bg) !important;
  border-color: var(--bank-border) !important;
}

/* ---------- Field errors ---------- */
.reembolso-form .field-error {
  display: block; min-height: 18px; margin-top: 6px;
  font-size: 12.5px; font-weight: 500; color: #c0182b;
  line-height: 1.35; visibility: hidden; opacity: 0;
  transition: opacity .12s ease-in-out; overflow: hidden;
  white-space: nowrap; text-overflow: ellipsis;
}
.reembolso-form .field-error.visible { visibility: visible; opacity: 1; }
.reembolso-form .form-group.has-error .form-control,
.reembolso-form .form-group.has-error .banco-toggle {
  border-color: #c0182b !important;
  box-shadow: 0 0 0 0.15rem rgba(192, 24, 43, .15) !important;
}
.reembolso-form .form-group.has-error label { color: #c0182b; }
@media (max-width: 767px) {
  .reembolso-form .field-error { min-height: 20px; font-size: 12px; }
}

/* ---------- Custom warning alert ---------- */
.custom-warning-alert {
    display: flex; align-items: center;
    background-color: #fff6d6; border: 1px solid #f5e6b8;
    border-radius: 4px; padding: 15px 20px;
    margin-bottom: 25px; color: #665217; font-family: inherit;
}
.custom-warning-icon { flex-shrink: 0; margin-right: 18px; color: #4a3812; }
.custom-warning-icon svg { width: 32px; height: 32px; display: block; }
.custom-warning-text { font-size: 15px; line-height: 1.4; font-weight: 500; text-align: left; }
@media (max-width: 767px) {
    .custom-warning-alert { padding: 12px 15px; }
    .custom-warning-icon svg { width: 26px; height: 26px; }
    .custom-warning-text { font-size: 14px; }
}