/* ENJURI OS — Visual Identity Styles */
:root {
  --navy-dark: #0A192F;
  --navy-main: #1E3A8A;
  --navy-light: #2563EB;
  --gold-primary: #C5A059;
  --gold-hover: #B38E46;
  --gold-soft: #FDF8ED;
  --bg-page: #F8FAFC;
  --bg-card: #FFFFFF;
  --text-main: #0F172A;
  --text-muted: #64748B;
  --border-color: #E2E8F0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --radius: 8px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  background-color: var(--bg-page);
  color: var(--text-main);
  display: flex;
  height: 100vh;
  overflow: hidden;
}

/* Sidebar Styling */
.sidebar {
  width: 260px;
  background-color: var(--navy-dark);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  transition: all 0.3s ease;
  z-index: 20;
}

.sidebar-header {
  padding: 24px 20px 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.brand-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #ffffff;
  text-align: center;
}

.brand-subtitle {
  font-size: 9.5px;
  color: #94A3B8;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-top: 8px;
  text-align: center;
}

.sidebar-menu {
  list-style: none;
  padding: 12px 0;
  flex: 1;
}

.sidebar-menu::-webkit-scrollbar {
  width: 4px;
}
.sidebar-menu::-webkit-scrollbar-track {
  background: transparent;
}
.sidebar-menu::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  margin: 3px 12px;
  color: #94A3B8;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-item:hover:not(.active) {
  background-color: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.menu-item.active {
  background: linear-gradient(135deg, rgba(197, 160, 89, 0.35) 0%, rgba(180, 140, 60, 0.22) 100%) !important;
  border: 1px solid #C5A059 !important;
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  font-weight: 700;
}

.menu-item .icon {
  font-size: 18px;
}

/* Main Layout */
.main-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.top-header {
  height: 64px;
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  box-shadow: var(--shadow-sm);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.page-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-dark);
}

.tz-badge {
  font-size: 12px;
  background-color: #F1F5F9;
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 12px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.user-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #F1F5F9;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
}

.user-switcher select {
  background: transparent;
  border: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-dark);
  outline: none;
  cursor: pointer;
}

/* Content Body */
.content-body {
  flex: 1;
  padding: 28px;
  overflow-y: auto;
}

/* Sub-tabs Header no Dashboard */
.dash-subtabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.dash-subtab {
  padding: 10px 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
}

.dash-subtab.active {
  color: var(--navy-dark);
  border-bottom-color: var(--gold-primary);
}

/* Cards & Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.stat-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;

}

.stat-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stat-icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #FEF9C3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy-dark);
}

.stat-value.gold {
  color: #B59226;
}

.stat-trend {
  font-size: 12px;
  font-weight: 600;
  color: #166534;
  display: flex;
  align-items: center;
  gap: 4px;
}

.stat-trend.neutral {
  color: var(--text-muted);
}

/* Funil de Operações Visual */
.funnel-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 0;
}

.funnel-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  color: #ffffff;
  font-weight: 600;
  font-size: 13px;
  border-radius: 6px;
  transition: transform 0.2s;
}
.funnel-bar:hover { transform: scale(1.02); }

.funnel-1 { background-color: #0A192F; width: 100%; }
.funnel-2 { background-color: #1E3A8A; width: 90%; margin: 0 auto; }
.funnel-3 { background-color: #2563EB; width: 80%; margin: 0 auto; }
.funnel-4 { background-color: #3B82F6; width: 70%; margin: 0 auto; }
.funnel-5 { background-color: #60A5FA; width: 60%; margin: 0 auto; color: #0F172A; }
.funnel-6 { background-color: #FEF08A; width: 50%; margin: 0 auto; color: #854D0E; }
.funnel-7 { background-color: #EAB308; width: 42%; margin: 0 auto; color: #000000; }

/* Cards Ensinamentos e Aprendizados (Churchill / Schumpeter / Agentes) */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.insight-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.insight-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #CBD5E1;
}

.insight-avatar {
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background-color: #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: var(--navy-dark);
  flex-shrink: 0;
  border: 2px solid #D97706;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.insight-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.insight-author {
  font-weight: 700;
  font-size: 14px;
  color: var(--navy-dark);
}

.insight-role {
  font-size: 11px;
  color: var(--gold-primary);
  font-weight: 700;
  text-transform: uppercase;
}

.insight-quote {
  font-size: 13px;
  font-style: italic;
  color: #334155;
  margin-top: 2px;
  line-height: 1.45;
}

/* Controls Header */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 16px;
  flex-wrap: wrap;
}

.search-filters {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.search-input, .select-filter {
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 14px;
  outline: none;
  background-color: var(--bg-card);
}

.search-input:focus, .select-filter:focus {
  border-color: var(--navy-light);
}

.btn-primary {
  background-color: var(--navy-dark);
  color: #ffffff;
  border: 1px solid var(--navy-dark);
  padding: 10px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-primary:hover {
  background-color: var(--navy-main);
}

.btn-gold {
  background-color: var(--gold-primary);
  color: #000000;
  border: 1px solid var(--gold-primary);
  padding: 10px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-gold:hover {
  background-color: var(--gold-hover);
}

/* Data Tables */
.table-container {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

th {
  background-color: #F8FAFC;
  color: var(--text-muted);
  font-weight: 600;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
  font-size: 12px;
  text-transform: uppercase;
}

td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
}

tr:hover {
  background-color: #F1F5F9;
  cursor: pointer;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.badge-ativa { background-color: #DCFCE7; color: #166534; }
.badge-prospect { background-color: #FEF9C3; color: #854D0E; }
.badge-inativa { background-color: #F1F5F9; color: #475569; }

.badge-etapa { background-color: #E0F2FE; color: #0369A1; }
.badge-concluido { background-color: #DCFCE7; color: #166534; }
.badge-perdido { background-color: #FEE2E2; color: #991B1B; }

/* Kanban Board Pipeline */
.kanban-board {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 16px;
  min-height: calc(100vh - 200px);
}

.kanban-column {
  width: 280px;
  min-width: 280px;
  background-color: #F1F5F9;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 210px);
}

.kanban-header {
  padding: 14px 16px;
  font-weight: 700;
  font-size: 13px;
  color: var(--navy-dark);
  border-bottom: 2px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.kanban-cards {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  flex: 1;
}

.kanban-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.1s;
}

.kanban-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card-code {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-primary);
}

.card-company {
  font-size: 14px;
  font-weight: 700;
  margin: 4px 0;
  color: var(--navy-dark);
}

.card-value {
  font-size: 15px;
  font-weight: 700;
  color: #166534;
  margin-bottom: 8px;
}

.card-meta {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Modals & Drawer */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100050;
}

.modal-backdrop:not(.hidden) {
  display: flex;
}

.modal-backdrop.hidden {
  display: none !important;
}

.modal-content {
  background-color: var(--bg-card);
  border-radius: var(--radius);
  width: 90%;
  max-width: 650px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-md);
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-body {
  padding: 24px;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full {
  grid-column: span 2;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: block;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 14px;
}

.drawer-content {
  position: fixed;
  right: 0;
  top: 0;
  width: 700px;
  max-width: 95vw;
  height: 100vh;
  background-color: var(--bg-card);
  box-shadow: -4px 0 20px rgba(0,0,0,0.15);
  z-index: 110;
  display: flex;
  flex-direction: column;
}

.drawer-header {
  padding: 24px;
  background-color: var(--navy-dark);
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.drawer-body {
  padding: 24px;
  flex: 1;
  overflow-y: auto;
}

.tabs-header {
  display: flex;
  gap: 16px;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 20px;
}

.tab-item {
  padding: 10px 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
}

.tab-item.active {
  color: var(--navy-dark);
  border-bottom-color: var(--gold-primary);
}

.close-btn {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text-muted);
  cursor: pointer;
}
.drawer-header .close-btn {
  color: #ffffff;
}

.hidden {
  display: none !important;
}


/* ========================================================= */
/* DEDICATED FULL-SCREEN LOGIN PAGE (MATCHING ENJURI DESIGN)  */
/* ========================================================= */
.login-page-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  z-index: 99999;
  background-image: url('bg_boardroom.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow: hidden;
}

.login-page-container.hidden,
#login-screen-view.hidden {
  display: none !important;
}

.login-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 11, 20, 0.84) 0%, rgba(10, 16, 28, 0.62) 50%, rgba(6, 11, 20, 0.82) 100%);
  z-index: 1;
  pointer-events: none;
}

.login-left-panel {
  flex: 1.15;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px 64px;
  color: #FFFFFF;
  z-index: 2;
  overflow-y: auto;
}

.login-left-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 540px;
}

/* STACKED BRAND LOGO */
.login-brand-header {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.login-brand-stacked {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.login-brand-stacked.light-mode {
  align-items: center;
  text-align: center;
}

.brand-stacked-symbol {
  height: 56px;
  width: auto;
  object-fit: contain;
  margin-bottom: 6px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

.brand-stacked-title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 4px;
  color: #FFFFFF;
  line-height: 1.15;
}

.brand-stacked-title.sub {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 4px;
  color: #FFFFFF;
  margin-top: 2px;
}

.light-mode .brand-stacked-title,
.light-mode .brand-stacked-title.sub {
  color: #0B132B;
}

.brand-stacked-tagline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 8px;
  letter-spacing: 2.5px;
  color: #C5A059;
  font-weight: 600;
  margin-top: 8px;
  text-transform: uppercase;
}

.brand-stacked-tagline .line {
  display: inline-block;
  width: 20px;
  height: 1px;
  background-color: #C5A059;
}

.login-headline {
  font-family: "Georgia", serif;
  font-size: 38px;
  line-height: 1.25;
  font-weight: 400;
  color: #FFFFFF;
  margin-top: 16px;
}

.login-headline .highlight-gold {
  color: #C5A059;
  font-weight: 700;
}

.login-subtext {
  font-size: 14px;
  color: #CBD5E1;
  line-height: 1.6;
  margin-top: 14px;
  margin-bottom: 24px;
}

.login-features-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 28px;
}

.login-feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.feature-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.12);
  border: 1.5px solid rgba(197, 160, 89, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-text strong {
  display: block;
  font-size: 14px;
  color: #FFFFFF;
  font-weight: 600;
}

.feature-text span {
  display: block;
  font-size: 12px;
  color: #94A3B8;
  margin-top: 2px;
}

.login-left-footer {
  font-size: 10px;
  letter-spacing: 2px;
  color: #64748B;
  text-transform: uppercase;
  margin-top: auto;
  padding-top: 16px;
  font-weight: 600;
}

/* PAINEL DIREITO (CARD FLUTUANTE DE LOGIN) */
.login-right-panel {
  flex: 0.85;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 48px;
  z-index: 2;
}

.login-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 36px 32px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  color: #0F172A;
}

.login-card-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 16px;
}

.login-card-title {
  font-family: "Georgia", serif;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  color: #0F172A;
  margin-bottom: 6px;
}

.login-card-subtitle {
  font-size: 12px;
  color: #64748B;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 20px;
}

.form-group-custom {
  margin-bottom: 16px;
}

.form-group-custom label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
  pointer-events: none;
}

.input-with-icon input {
  width: 100%;
  padding: 11px 14px 11px 40px;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  font-size: 13px;
  color: #0F172A;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input-with-icon input:focus {
  border-color: #C5A059;
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.18);
}

.toggle-pass-btn {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  font-size: 14px;
  cursor: pointer;
  color: #64748B;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.form-control-custom {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  font-size: 12px;
  color: #0F172A;
  background: #F8FAFC;
  outline: none;
  transition: border-color 0.2s;
}

.form-control-custom:focus {
  border-color: #C5A059;
}

.login-options-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  margin-bottom: 18px;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #475569;
  cursor: pointer;
  user-select: none;
}

.remember-me input {
  accent-color: #C5A059;
  border-radius: 4px;
  width: 15px;
  height: 15px;
}

.forgot-pass-link {
  color: #C5A059;
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
  transition: color 0.2s;
}

.forgot-pass-link:hover {
  color: #B38E46;
  text-decoration: underline;
}

.btn-login-submit {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, #C5A059 0%, #B89243 100%);
  color: #0A192F;
  border: 1px solid #C5A059;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.3px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.35);
  transition: all 0.2s ease;
}

.btn-login-submit:hover {
  background: linear-gradient(135deg, #D4AF37 0%, #C5A059 100%);
  box-shadow: 0 6px 18px rgba(197, 160, 89, 0.45);
  transform: translateY(-1px);
}

.login-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 18px 0;
  color: #94A3B8;
  font-size: 11px;
}

.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #E2E8F0;
}

.login-divider span {
  padding: 0 10px;
}

.btn-invite-access {
  width: 100%;
  padding: 11px 14px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
  text-align: left;
}

.btn-invite-access:hover {
  background-color: #F1F5F9;
  border-color: #CBD5E1;
}

.invite-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.invite-text strong {
  display: block;
  font-size: 12px;
  color: #0F172A;
}

.invite-text span {
  display: block;
  font-size: 11px;
  color: #64748B;
  margin-top: 1px;
}

.login-card-footer {
  text-align: center;
  font-size: 11px;
  color: #94A3B8;
  margin-top: 18px;
}

@media (max-width: 900px) {
  .login-page-container {
    flex-direction: column;
    overflow-y: auto;
  }
  .login-left-panel {
    display: none;
  }
  .login-right-panel {
    width: 100%;
    padding: 20px;
  }
}

/* HISTÓRICO DO CLIENTE & TIMELINE */
.hist-timeline-track {
  position: relative;
  padding-left: 20px;
}
.hist-timeline-track::before {
  content: '';
  position: absolute;
  left: 36px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: #E2E8F0;
  z-index: 1;
}
.hist-timeline-item {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  z-index: 2;
}
.hist-timeline-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.hist-timeline-body {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 12px 16px;
  flex: 1;
  transition: all 0.2s ease;
}
.hist-timeline-body:hover {
  border-color: #CBD5E1;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.hist-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.badge-blue { background: #DBEAFE; color: #1E40AF; }
.badge-purple { background: #EDE9FE; color: #5B21B6; }
.badge-teal { background: #CCFBF1; color: #0F766E; }
.badge-indigo { background: #E0E7FF; color: #3730A3; }
.badge-emerald { background: #D1FAE5; color: #065F46; }
.badge-amber { background: #FEF3C7; color: #92400E; }
.badge-red { background: #FEE2E2; color: #991B1B; }




/* ===== PORTAL DO CLIENTE PREMIUM (VISÃO SISTEMA) ===== */
.client-nav-item {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 12px 18px !important;
  margin: 4px 14px;
  border-radius: 8px !important;
  color: #94A3B8 !important;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border-left: none !important;
  transition: all 0.2s ease;
}

.client-nav-item:hover {
  background-color: rgba(197, 160, 89, 0.12) !important;
  color: #FFFFFF !important;
}

.client-nav-item.active {
  background: linear-gradient(135deg, #C5A059 0%, #B89243 100%) !important;
  color: #0A192F !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.35) !important;
}

.client-nav-item.active span {
  color: #0A192F !important;
}

.cli-container {
  padding: 4px 6px 40px 6px;
  max-width: 1400px;
  margin: 0 auto;
}

.cli-hero-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.cli-greeting .cli-title {
  font-size: 28px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 6px 0;
  letter-spacing: -0.5px;
}

.cli-greeting .cli-subtitle {
  font-size: 14px;
  color: #64748B;
  margin: 0;
}

.cli-company-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.cli-company-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.cli-company-name {
  font-size: 14px;
  font-weight: 700;
  color: #0F172A;
}

.cli-company-cnpj {
  font-size: 12px;
  color: #64748B;
  margin-top: 1px;
}

.cli-badge-status-ativo {
  background: #DCFCE7;
  color: #166534;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 9999px;
  margin-left: 8px;
}

/* KPI CARDS */
.cli-kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.cli-kpi-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.cli-kpi-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cli-kpi-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(197, 160, 89, 0.12);
  color: #B38E46;
  border: 1px solid rgba(197, 160, 89, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.cli-kpi-title {
  font-size: 13px;
  font-weight: 600;
  color: #475569;
}

.cli-kpi-number {
  font-size: 32px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.1;
  margin: 2px 0;
}

.cli-kpi-sub {
  font-size: 12px;
  color: #64748B;
}

.cli-kpi-btn {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.cli-kpi-btn:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
}

/* MIDDLE GRID: 65% / 35% */
.cli-middle-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.cli-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.cli-section-title {
  font-size: 17px;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
}

.cli-section-link {
  font-size: 13px;
  font-weight: 600;
  color: #2563EB;
  text-decoration: none;
  cursor: pointer;
}

.cli-section-link:hover {
  text-decoration: underline;
}

.cli-card-box {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

/* OP CARD HEADER */
.cli-op-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.cli-op-badges {
  display: flex;
  gap: 8px;
  align-items: center;
}

.cli-badge-code {
  background: #F1F5F9;
  color: #475569;
  font-weight: 700;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
}

.cli-badge-etapa {
  background: rgba(197, 160, 89, 0.15);
  color: #8C6A1E;
  font-weight: 700;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1px solid rgba(197, 160, 89, 0.3);
}

.cli-op-values {
  text-align: right;
}

.cli-op-val-label {
  font-size: 12px;
  color: #64748B;
}

.cli-op-val-number {
  font-size: 26px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.1;
  margin: 2px 0;
}

.cli-op-banco {
  font-size: 12px;
  color: #64748B;
}

.cli-op-title-row {
  margin-bottom: 28px;
}

.cli-op-title {
  font-size: 20px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 4px 0;
}

.cli-op-date {
  font-size: 13px;
  color: #64748B;
}

/* STEPPER HORIZONTAL (6 PASSOS) */
.cli-stepper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  margin-top: 10px;
  padding: 0 10px;
}

.cli-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
  text-align: center;
}

.cli-step-node {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: bold;
  z-index: 2;
  transition: all 0.2s;
  background: #FFFFFF;
}

.cli-step-node.completed {
  background: #C5A059;
  color: #0A192F;
}

.cli-step-node.current {
  border: 2px solid #C5A059;
  background: #FFFFFF;
}

.cli-step-node.current .cli-step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #C5A059;
}

.cli-step-node.pending {
  border: 2px solid #CBD5E1;
  background: #FFFFFF;
}

.cli-step-line {
  position: absolute;
  top: 13px;
  height: 3px;
  z-index: 1;
  width: 100%;
  left: 50%;
}

.cli-step-line.completed {
  background: #C5A059;
}

.cli-step-line.pending {
  background: #E2E8F0;
}

.cli-step-name {
  font-size: 12px;
  font-weight: 700;
  color: #0F172A;
  margin-top: 8px;
  line-height: 1.2;
}

.cli-step-status {
  font-size: 11px;
  margin-top: 2px;
}

.cli-step-status.completed {
  color: #64748B;
}

.cli-step-status.current {
  color: #8C6A1E;
  font-weight: 700;
}

.cli-step-status.pending {
  color: #94A3B8;
}

/* ACTIONS CARD: O QUE VOCÊ PRECISA FAZER AGORA */
.cli-badge-pendencias {
  background: #FEF3C7;
  color: #B45309;
  font-weight: 700;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 9999px;
}

.cli-action-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #F1F5F9;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.2s;
  background: #FAFAFA;
}

.cli-action-item:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
}

.cli-action-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cli-action-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.cli-action-icon.red {
  background: #FEE2E2;
  color: #DC2626;
}

.cli-action-icon.gray {
  background: #F1F5F9;
  color: #475569;
}

.cli-action-title {
  font-size: 13px;
  font-weight: 700;
  color: #0F172A;
}

.cli-action-sub {
  font-size: 11px;
  color: #64748B;
}

.cli-action-chevron {
  font-size: 18px;
  color: #94A3B8;
}

.cli-btn-upload-primary {
  width: 100%;
  background: #0F172A;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 13px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  transition: background 0.2s;
}

.cli-btn-upload-primary:hover {
  background: #1E293B;
}

/* BOTTOM GRID: 50% / 50% */
.cli-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.cli-checklist-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #F1F5F9;
}

.cli-checklist-row:last-child {
  border-bottom: none;
}

.cli-chk-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cli-chk-check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #10B981;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: bold;
}

.cli-chk-pending-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #FEE2E2;
  color: #DC2626;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.cli-chk-name {
  font-size: 13px;
  font-weight: 700;
  color: #0F172A;
}

.cli-chk-date {
  font-size: 12px;
  color: #64748B;
  margin-left: 8px;
}

.cli-badge-aprovado {
  background: #DCFCE7;
  color: #166534;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
}

.cli-badge-pendente {
  background: #FEE2E2;
  color: #DC2626;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
}

.cli-badge-analise {
  background: #DBEAFE;
  color: #1D4ED8;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
}

.cli-recent-doc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #F1F5F9;
}

.cli-recent-doc-row:last-child {
  border-bottom: none;
}

.cli-recent-doc-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cli-recent-doc-icon {
  font-size: 20px;
  color: #475569;
}

.cli-recent-doc-name {
  font-size: 13px;
  font-weight: 700;
  color: #0F172A;
}

.cli-recent-doc-meta {
  font-size: 11px;
  color: #64748B;
  margin-top: 1px;
}

/* User avatar pill in header */
.cli-header-user-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px;
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.2s;
}

.cli-header-user-pill:hover {
  background: #F1F5F9;
}

.cli-header-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0F172A;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.cli-header-user-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.cli-header-user-name {
  font-size: 13px;
  font-weight: 700;
  color: #0F172A;
}

.cli-header-user-empresa {
  font-size: 11px;
  color: #64748B;
}

.cli-header-caret {
  font-size: 12px;
  color: #64748B;
  margin-left: 4px;
}

/* ========================================================
   ISOLAMENTO TOTAL DO PORTAL DO CLIENTE (ZERO ACESSO INTERNO)
   ======================================================== */
html.is-cliente #main-sidebar-menu,
html.is-cliente #main-sidebar-wrapper,
html.is-cliente #sidebar-header-internal,
html.is-cliente #env-badge-container,
html.is-cliente #env-switch-action,
html.is-cliente .tz-badge,
html.is-cliente #tz-badge,
html.is-cliente #auth-user-info,
html.is-cliente #role-select-box,
html.is-cliente #cli-admin-switcher-bar,
html.is-cliente section[id^="view-"]:not(#view-cliente),
body.is-cliente #main-sidebar-menu,
body.is-cliente #main-sidebar-wrapper,
body.is-cliente #sidebar-header-internal,
body.is-cliente #env-badge-container,
body.is-cliente #env-switch-action,
body.is-cliente .tz-badge,
body.is-cliente #tz-badge,
body.is-cliente #auth-user-info,
body.is-cliente #role-select-box,
body.is-cliente #cli-admin-switcher-bar,
body.is-cliente section[id^="view-"]:not(#view-cliente) {
  display: none !important;
}

html.is-cliente #client-sidebar-wrapper,
body.is-cliente #client-sidebar-wrapper {
  display: flex !important;
}

html.is-cliente #client-sidebar-menu,
body.is-cliente #client-sidebar-menu {
  display: block !important;
}

html.is-cliente #sidebar-header-client,
body.is-cliente #sidebar-header-client {
  display: flex !important;
}

html.is-cliente #cli-header-user-box,
body.is-cliente #cli-header-user-box {
  display: flex !important;
}

html.is-cliente #view-cliente,
body.is-cliente #view-cliente {
  display: block !important;
}

/* ========================================================
   MODO EXCLUSIVO: PORTAL DO FINDER (PARCEIRO CREDENCIADO)
   ======================================================== */
html.is-finder #main-sidebar-menu,
html.is-finder #main-sidebar-wrapper,
html.is-finder #client-sidebar-menu,
html.is-finder #client-sidebar-wrapper,
html.is-finder #sidebar-header-internal,
html.is-finder #sidebar-header-client,
html.is-finder #env-badge-container,
html.is-finder #env-switch-action,
html.is-finder .tz-badge,
html.is-finder #tz-badge,
html.is-finder #auth-user-info,
html.is-finder #role-select-box,
html.is-finder #fnd-admin-switcher-bar,
html.is-finder section[id^="view-"]:not(#view-portal-finder),
body.is-finder #main-sidebar-menu,
body.is-finder #main-sidebar-wrapper,
body.is-finder #client-sidebar-menu,
body.is-finder #client-sidebar-wrapper,
body.is-finder #sidebar-header-internal,
body.is-finder #sidebar-header-client,
body.is-finder #env-badge-container,
body.is-finder #env-switch-action,
body.is-finder .tz-badge,
body.is-finder #tz-badge,
body.is-finder #auth-user-info,
body.is-finder #role-select-box,
body.is-finder #fnd-admin-switcher-bar,
body.is-finder section[id^="view-"]:not(#view-portal-finder) {
  display: none !important;
}

html.is-finder #finder-sidebar-wrapper,
body.is-finder #finder-sidebar-wrapper {
  display: flex !important;
}

html.is-finder #finder-sidebar-menu,
body.is-finder #finder-sidebar-menu {
  display: block !important;
}

html.is-finder .top-header,
body.is-finder .top-header {
  display: none !important;
}

html.is-finder #sidebar-header-finder,
body.is-finder #sidebar-header-finder {
  display: flex !important;
}

html.is-finder #view-portal-finder,
body.is-finder #view-portal-finder {
  display: block !important;
}

#finder-sidebar-menu .menu-item {
  transition: all 0.2s ease;
}
#finder-sidebar-menu .menu-item:hover:not(.active) {
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF !important;
}


/* ========================================================
   ÁREA DE DRAG & DROP INTELIGENTE E UPLOAD DE PASTA COMPLETA
   ======================================================== */
.cli-dropzone-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.cli-dropzone-box {
  border: 2px dashed #94A3B8;
  border-radius: 14px;
  background: #F8FAFC;
  padding: 36px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.cli-dropzone-box:hover {
  border-color: #2563EB;
  background: #F0F7FF;
}

.cli-dropzone-box.dragover {
  border-color: #2563EB;
  background: #EFF6FF;
  border-style: solid;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18);
  transform: scale(1.002);
}

.cli-dropzone-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px auto;
  border-radius: 16px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #2563EB;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.08);
}

.cli-dropzone-title {
  font-size: 18px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 6px;
}

.cli-dropzone-sub {
  font-size: 13px;
  color: #64748B;
  max-width: 640px;
  margin: 0 auto 20px auto;
  line-height: 1.5;
}

.cli-dropzone-btn-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.cli-btn-select-files {
  background: #0F172A;
  color: #FFFFFF;
  border: 1px solid #0F172A;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.cli-btn-select-files:hover {
  background: #1E293B;
  border-color: #1E293B;
}

.cli-btn-select-folder {
  background: #FFFFFF;
  color: #0F172A;
  border: 1.5px solid #CBD5E1;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.cli-btn-select-folder:hover {
  background: #F8FAFC;
  border-color: #94A3B8;
}

.cli-dropzone-tip {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #F1F5F9;
  border-radius: 20px;
  font-size: 12px;
  color: #475569;
  font-weight: 500;
}

.cli-batch-preview-container {
  margin-top: 20px;
  border: 1px solid #CBD5E1;
  border-radius: 12px;
  background: #FFFFFF;
  overflow: hidden;
}

.cli-batch-preview-header {
  padding: 16px 20px;
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.cli-batch-file-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid #F1F5F9;
  gap: 14px;
  flex-wrap: wrap;
  transition: background 0.15s;
}

.cli-batch-file-row:last-child {
  border-bottom: none;
}

.cli-batch-file-row:hover {
  background: #FAFAFA;
}

.cli-batch-file-row.is-valid {
  border-left: 4px solid #10B981;
}

.cli-batch-file-row.is-invalid {
  border-left: 4px solid #EF4444;
  background: #FEF2F2;
}

.cli-batch-ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
}

/* ==========================================================================
   DESATIVAR AUTOFILL / SUGESTÕES NATIVAS DO NAVEGADOR (SAFARI / CHROME)
   ========================================================================== */
input::-webkit-contacts-auto-fill-button,
input::-webkit-credentials-auto-fill-button,
input::-webkit-caps-lock-indicator {
  visibility: hidden !important;
  display: none !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  opacity: 0 !important;
}

#modal-onboarding-cliente input {
  -webkit-user-select: auto;
}

/* ==========================================================================
   PORTAL DO CLIENTE - NOVO LAYOUT EXECUTIVO PREMIUM (IMAGE 2 COM DEGRADÊ)
   ========================================================================== */
.cli-hero-banner-exec {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  min-height: 460px;
  margin-bottom: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 42px 28px 42px;
  background-color: #F7F5F2;
  background-image: 
    linear-gradient(90deg, 
      #F7F5F2 0%, 
      #F7F5F2 18%, 
      rgba(247, 245, 242, 0.98) 28%, 
      rgba(247, 245, 242, 0.72) 38%, 
      rgba(247, 245, 242, 0.22) 48%, 
      rgba(247, 245, 242, 0) 58%
    ),
    linear-gradient(270deg,
      rgba(15, 23, 42, 0.78) 0%,
      rgba(15, 23, 42, 0.30) 18%,
      rgba(15, 23, 42, 0) 36%
    ),
    url('/hero_skyline_executivo.jpg?v=20261014_nyc_sunset_v4');
  background-position: left top, right top, center 42%;
  background-size: 100% 100%, 100% 100%, cover;
  background-repeat: no-repeat;
  box-shadow: 0 6px 26px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(230, 224, 216, 0.9);
}

.cli-hero-top-area {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  min-height: 200px;
}

.cli-hero-left {
  position: relative;
  z-index: 3;
  max-width: 520px;
}

.cli-hero-greeting-title {
  font-size: 40px;
  font-weight: 700;
  color: #0F172A;
  font-family: "Georgia", "Times New Roman", serif;
  margin: 0 0 14px 0;
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.cli-hero-greeting-desc {
  font-size: 15px;
  color: #475569;
  line-height: 1.68;
  max-width: 480px;
  margin: 0;
}

.cli-hero-user-pill {
  position: absolute;
  top: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-radius: 28px;
  padding: 6px 16px 6px 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(226, 232, 240, 0.9);
  cursor: pointer;
  z-index: 4;
  transition: transform 0.15s, box-shadow 0.15s;
}

.cli-hero-user-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.24);
}

.cli-hero-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0F172A;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cli-hero-user-texts {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.cli-hero-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #0F172A;
}

.cli-hero-empresa {
  font-size: 11px;
  color: #64748B;
}

.cli-hero-chevron {
  font-size: 11px;
  color: #94A3B8;
  margin-left: 2px;
}

.cli-hero-tagline-box {
  position: absolute;
  right: 6px;
  top: 76px;
  text-align: left;
  z-index: 3;
  pointer-events: none;
}

.cli-hero-tagline-text {
  color: #DFB776;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 2.4px;
  line-height: 1.5;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85), 0 0 16px rgba(0, 0, 0, 0.6);
}

.cli-hero-tagline-bar {
  width: 44px;
  height: 2.5px;
  background: linear-gradient(90deg, #D4AF37 0%, rgba(212, 175, 55, 0.2) 100%);
  margin-top: 8px;
  border-radius: 2px;
}

/* 4 TOP KPIS ROW - PADRÃO DE TAMANHO RIGOROSAMENTE UNIFORME DENTRO DO HERO */
.cli-kpis-4col {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
  width: 100%;
  box-sizing: border-box;
}

.cli-kpis-inside-hero {
  margin-top: 36px;
  margin-bottom: 0;
  position: relative;
  z-index: 4;
}

.cli-kpi-box-v2 {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: box-shadow 0.2s, transform 0.2s, background 0.2s;
  min-width: 0;
  width: 100%;
  height: 84px;
  box-sizing: border-box;
}

.cli-kpi-box-v2:hover {
  background: #FFFFFF;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
  transform: translateY(-2px);
}

.cli-kpi-icon-square {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #FDF8F3;
  border: 1px solid #F3E5D4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #A67C52;
  flex-shrink: 0;
}

.cli-kpi-content {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cli-kpi-lbl {
  font-size: 11.5px;
  font-weight: 600;
  color: #64748B;
  margin-bottom: 3px;
  text-transform: capitalize;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cli-kpi-val {
  font-size: 14.5px;
  font-weight: 800;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}

.cli-kpi-subtext {
  font-size: 11px;
  color: #94A3B8;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

/* STEPPER: ETAPAS DA SUA OPERAÇÃO */
.cli-stepper-box {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 22px 28px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.cli-stepper-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.cli-stepper-title {
  font-size: 18px;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
  letter-spacing: -0.3px;
}

.cli-stepper-updated {
  font-size: 12px;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cli-stepper-track-v2 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  overflow-x: auto;
  padding-bottom: 8px;
}

.cli-step-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
  text-align: center;
  min-width: 90px;
}

.cli-step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13.5px;
  font-weight: 700;
  z-index: 2;
  transition: all 0.2s;
}

.cli-step-circle.completed {
  background: #A67C52;
  color: #FFFFFF;
}

.cli-step-circle.current {
  background: #A67C52;
  color: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(166, 124, 82, 0.2);
}

.cli-step-circle.pending {
  background: #E2E8F0;
  color: #64748B;
}

.cli-step-connector {
  position: absolute;
  top: 15px;
  height: 2px;
  width: 100%;
  left: 50%;
  z-index: 1;
}

.cli-step-connector.completed {
  background: #A67C52;
}

.cli-step-connector.pending {
  background: #E2E8F0;
}

.cli-step-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #0F172A;
  margin-top: 10px;
  line-height: 1.25;
  max-width: 105px;
  word-break: break-word;
}

.cli-step-sublabel {
  font-size: 11px;
  color: #64748B;
  margin-top: 4px;
}

.cli-step-badge-current {
  display: inline-block;
  background: #FEF3C7;
  color: #92400E;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  margin-top: 4px;
}

/* FINAL STAGE BANNER: CRÉDITO APROVADO / CRÉDITO NEGADO */
.cli-stepper-head.final-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin-bottom: 24px;
}

.cli-stepper-staff-wrapper {
  align-self: flex-end;
  margin-bottom: 6px;
}

.cli-stepper-staff-ctrl {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  padding: 6px 12px;
  border-radius: 10px;
}

.cli-final-banner-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 4px auto 14px auto;
  text-align: center;
  width: 100%;
}

.cli-final-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 34px;
  border-radius: 9999px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  transition: all 0.25s ease;
}

.cli-final-pill.aprovado {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.35);
  border: 1px solid #34D399;
}

.cli-final-pill.negado {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(239, 68, 68, 0.35);
  border: 1px solid #F87171;
}

.cli-final-pill.perdido {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(217, 119, 6, 0.35);
  border: 1px solid #FCD34D;
}

.cli-final-pill-icon {
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.cli-final-pill-title {
  letter-spacing: 0.8px;
}

.cli-final-pill-sub {
  font-size: 14px;
  font-weight: 600;
  margin-top: 10px;
  max-width: 580px;
  line-height: 1.45;
}

.cli-final-banner-centered.aprovado .cli-final-pill-sub {
  color: #065F46;
}

.cli-final-banner-centered.negado .cli-final-pill-sub {
  color: #991B1B;
}

.cli-final-banner-centered.perdido .cli-final-pill-sub {
  color: #92400E;
}

/* 5º Passo no Stepper (Aprovado / Negado / Perdido) */
.cli-step-circle.aprovado {
  background: #10B981 !important;
  color: #FFFFFF !important;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.25) !important;
}

.cli-step-circle.negado {
  background: #EF4444 !important;
  color: #FFFFFF !important;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.25) !important;
}

.cli-step-circle.perdido {
  background: #F59E0B !important;
  color: #FFFFFF !important;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.25) !important;
}

.cli-step-connector.negado {
  background: #EF4444 !important;
}

.cli-step-connector.perdido {
  background: #F59E0B !important;
}

.cli-step-badge-aprovado {
  display: inline-block;
  background: #D1FAE5;
  color: #065F46;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  margin-top: 4px;
}

.cli-step-badge-negado {
  display: inline-block;
  background: #FEE2E2;
  color: #991B1B;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  margin-top: 4px;
}

.cli-step-badge-perdido {
  display: inline-block;
  background: #FEF3C7;
  color: #92400E;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  margin-top: 4px;
}

/* PAINEL DE PENDÊNCIAS E ALERTAS */
.cli-pendencias-alert-box {
  background: #FFFBEB;
  border: 1.5px solid #FCD34D;
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.08);
}

.cli-pendencias-alert-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}

.cli-pendencias-alert-title {
  font-size: 16px;
  font-weight: 800;
  color: #92400E;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.cli-pendencias-count-badge {
  background: #FEE2E2;
  color: #B91C1C;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #FECACA;
}

.cli-pendencia-card-item {
  background: #FFFFFF;
  border: 1px solid #FDE68A;
  border-left: 4px solid #D97706;
  border-radius: 10px;
  padding: 14px 18px;
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.cli-pendencia-card-item.urgente {
  border-left-color: #DC2626;
  background: #FFFDFD;
}

.cli-pendencia-card-left {
  flex: 1;
  min-width: 260px;
}

.cli-pendencia-tag-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.cli-pendencia-tag-tipo {
  font-size: 11px;
  font-weight: 700;
  color: #92400E;
  background: #FEF3C7;
  padding: 2px 8px;
  border-radius: 6px;
}

.cli-pendencia-timer-badge {
  font-size: 11px;
  font-weight: 700;
  color: #DC2626;
  background: #FEE2E2;
  padding: 2px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.cli-pendencia-prio-badge {
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  background: #F1F5F9;
  padding: 2px 8px;
  border-radius: 6px;
}

.cli-pendencia-title {
  font-size: 14px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 3px 0;
}

.cli-pendencia-desc {
  font-size: 12px;
  color: #475569;
  line-height: 1.45;
  margin: 0;
}

.cli-pendencia-action-btn {
  background: #A67C52;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 9px 16px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
  white-space: nowrap;
}

.cli-pendencia-action-btn:hover {
  background: #8F6740;
}

#cli-pendencia-dropzone.dragover {
  border-color: #0A192F !important;
  background: #E2E8F0 !important;
  box-shadow: 0 0 0 4px rgba(10, 25, 47, 0.1);
  transform: scale(1.01);
}

.cli-pendencia-file-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
}

.cli-pendencia-file-chip .remove-btn {
  background: none;
  border: none;
  color: #EF4444;
  cursor: pointer;
  font-weight: 700;
  padding: 2px 6px;
  font-size: 14px;
}

.cli-pendencia-file-chip .remove-btn:hover {
  color: #B91C1C;
}

/* MAIN 2-COLUMN SPLIT (60% / 40%) */
.cli-main-split-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 24px;
}

/* LEFT COLUMN: DOCUMENTOS DA OPERAÇÃO */
.cli-docs-box {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.cli-docs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.cli-docs-title {
  font-size: 18px;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
  letter-spacing: -0.3px;
}

.cli-docs-counter {
  font-size: 13px;
  font-weight: 600;
  color: #64748B;
}

.cli-docs-progress-container {
  margin-bottom: 20px;
}

.cli-docs-progress-track {
  height: 9px;
  background: #F1F5F9;
  border-radius: 999px;
  overflow: hidden;
}

.cli-docs-progress-fill {
  height: 100%;
  background: #A67C52;
  border-radius: 999px;
  transition: width 0.3s ease;
}

.cli-docs-progress-legend {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.cli-docs-pct {
  font-size: 12px;
  font-weight: 700;
  color: #0F172A;
}

.cli-docs-remaining {
  font-size: 12px;
  font-weight: 600;
  color: #64748B;
}

/* DOCUMENT ROW ITEM */
.cli-doc-row-v2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  border-radius: 10px;
  margin-bottom: 10px;
  gap: 14px;
  transition: all 0.2s;
}

.cli-doc-row-v2.pendente {
  background: #FFFCF7;
  border: 1px solid #F5EBE1;
}

.cli-doc-row-v2.pendente:hover {
  background: #FFF8EE;
  border-color: #EBD6C1;
}

.cli-doc-row-v2.analise,
.cli-doc-row-v2.aprovado {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
}

.cli-doc-row-v2.analise:hover,
.cli-doc-row-v2.aprovado:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
}

.cli-doc-left-v2 {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.cli-doc-icon-sq {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #FFF4E5;
  border: 1px solid #FADCB8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #C27803;
  flex-shrink: 0;
}

.cli-doc-check-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #10B981;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  flex-shrink: 0;
  margin-left: 5px;
  margin-right: 5px;
}

.cli-doc-name-v2 {
  font-size: 13.5px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.25;
}

.cli-doc-meta-v2 {
  font-size: 11.5px;
  color: #64748B;
  margin-top: 2px;
}

.cli-doc-btn-upload {
  background: #A67C52;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
  white-space: nowrap;
}

.cli-doc-btn-upload:hover {
  background: #8F6740;
}

.cli-doc-pill-analise {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #DBEAFE;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
}

.cli-doc-pill-aprovado {
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.cli-doc-view-all-link {
  font-size: 13px;
  font-weight: 700;
  color: #2563EB;
  cursor: pointer;
  text-decoration: none;
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.cli-doc-view-all-link:hover {
  text-decoration: underline;
}

/* RIGHT COLUMN COMPONENTS */
.cli-quote-card-v2 {
  min-height: 180px;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
  background-image: url('/quote_mountains_bg.jpg');
  background-position: center 30%;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  padding: 24px 28px;
}

.cli-quote-card-v2::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.72) 0%, rgba(15, 23, 42, 0.35) 55%, rgba(15, 23, 42, 0.1) 100%);
  z-index: 1;
  pointer-events: none;
}

.cli-quote-content {
  position: relative;
  z-index: 2;
  max-width: 320px;
}

.cli-quote-text {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 18.5px;
  font-weight: 400;
  color: #FFFFFF;
  line-height: 1.35;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  letter-spacing: -0.2px;
}

.cli-quote-bar {
  width: 42px;
  height: 2px;
  background: #C5A059;
  margin-top: 12px;
  border-radius: 2px;
}

.cli-help-cta-box {
  background: linear-gradient(135deg, #B58A57 0%, #9C7240 100%);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(166, 124, 82, 0.2);
  transition: transform 0.15s, box-shadow 0.15s;
}

.cli-help-cta-box:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(166, 124, 82, 0.28);
}

.cli-help-cta-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cli-help-cta-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #FFFFFF;
  flex-shrink: 0;
}

.cli-help-cta-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
}

.cli-help-cta-sub {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 3px;
}

.cli-help-cta-arrow {
  font-size: 20px;
  color: #FFFFFF;
  font-weight: 700;
  margin-left: 8px;
}

.cli-faq-box {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 22px 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.cli-faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.cli-faq-title {
  font-size: 16px;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
  letter-spacing: -0.3px;
}

.cli-faq-header-arrow {
  font-size: 18px;
  color: #94A3B8;
}

.cli-faq-item-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid #F1F5F9;
  cursor: pointer;
  transition: background 0.15s;
}

.cli-faq-item-row:last-child {
  border-bottom: none;
  padding-bottom: 4px;
}

.cli-faq-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #475569;
  flex-shrink: 0;
}

.cli-faq-item-q {
  font-size: 13px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.25;
}

.cli-faq-item-a {
  font-size: 11.5px;
  color: #64748B;
  margin-top: 2px;
}

/* ========================================================
   CARTA BACEN (BANCO CENTRAL) & CONTRATO DE INTERMEDIAÇÃO
   ======================================================== */
.cli-bacen-alert-escancarado {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border: 2px solid #F59E0B;
  border-left: 8px solid #D97706;
  border-radius: 12px;
  padding: 22px 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(217, 119, 6, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  animation: bacenGlow 3s infinite alternate;
}

@keyframes bacenGlow {
  0% { box-shadow: 0 4px 12px rgba(217, 119, 6, 0.1); border-color: #F59E0B; }
  100% { box-shadow: 0 8px 24px rgba(217, 119, 6, 0.28); border-color: #D97706; }
}

.cli-bacen-card {
  background: #FFFFFF;
  border: 1.5px solid #0284C7;
  border-left: 6px solid #0284C7;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 24px;
  box-shadow: 0 3px 12px rgba(2, 132, 199, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.cli-contrato-box {
  background: #FFFFFF;
  border: 1.5px solid #C5A059;
  border-left: 6px solid #C5A059;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 24px;
  box-shadow: 0 3px 12px rgba(197, 160, 89, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ========================================================
   ESTILOS DE IMPRESSÃO A4 PARA EMISSÃO DE RECIBOS
   ======================================================== */
@media print {
  /* Esconder todos os elementos normais da tela */
  body, html {
    background: #FFFFFF !important;
    color: #000000 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  #main-sidebar, 
  #main-header, 
  #main-content > section,
  .modal-backdrop:not(#modal-visualizar-recibo),
  #modal-visualizar-recibo > div > div:first-child,
  #modal-visualizar-recibo > div > div:last-child,
  .close-btn,
  .btn-gold,
  .btn-primary {
    display: none !important;
  }

  #modal-visualizar-recibo {
    position: static !important;
    display: block !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    height: auto !important;
    backdrop-filter: none !important;
  }

  #modal-visualizar-recibo .modal-content {
    max-width: 100% !important;
    width: 100% !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  #recibo-folha-a4 {
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 15mm 20mm !important;
    width: 100% !important;
    min-height: auto !important;
  }

  @page {
    size: A4 portrait;
    margin: 10mm;
  }
}

/* ========================================================
   CARTA BACEN & CONTRATO NO SIDEBAR DO CLIENTE
   Posicionados entre o banner inspirador e o box de ajuda
   ======================================================== */
.cli-bacen-sidebar-card {
  background: #FFFFFF;
  border-radius: 14px;
  border: 1px solid #E2E8F0;
  padding: 18px 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: transform 0.15s, box-shadow 0.15s;
}

.cli-bacen-sidebar-card.aguardando {
  border-left: 5px solid #94A3B8;
  background: #FFFFFF;
}

.cli-bacen-sidebar-card.liberada {
  border: 1.5px solid #0284C7;
  border-left: 6px solid #0284C7;
  background: linear-gradient(180deg, #FFFFFF 0%, #F0F9FF 100%);
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.12);
}

.cli-bacen-sidebar-card.email-mode {
  border: 1.5px solid #F59E0B;
  border-left: 6px solid #D97706;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFBEB 100%);
  box-shadow: 0 4px 16px rgba(217, 119, 6, 0.12);
}

.cli-bacen-sidebar-card.aprovada {
  border: 1.5px solid #16A34A;
  border-left: 6px solid #16A34A;
  background: #F0FDF4;
}

.cli-bacen-sb-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.cli-bacen-sb-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cli-bacen-sb-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.cli-bacen-sb-icon-wrap.aguardando {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
}

.cli-bacen-sb-icon-wrap.ativo {
  background: #E0F2FE;
  border: 1px solid #BAE6FD;
}

.cli-bacen-sb-icon-wrap.email {
  background: #FEF3C7;
  border: 1px solid #FDE68A;
}

.cli-bacen-sb-icon-wrap.aprovado {
  background: #DCFCE7;
  border: 1px solid #BBF7D0;
}

.cli-bacen-sb-tag {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  line-height: 1;
  margin-bottom: 3px;
}

.cli-bacen-sb-tag.aguardando {
  color: #64748B;
}

.cli-bacen-sb-tag.ativo {
  color: #0284C7;
}

.cli-bacen-sb-tag.email {
  color: #D97706;
}

.cli-bacen-sb-tag.aprovado {
  color: #166534;
}

.cli-bacen-sb-title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.2;
  letter-spacing: -0.2px;
}

.cli-bacen-sb-status-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: #F1F5F9;
  color: #64748B;
  border: 1px solid #E2E8F0;
}

.cli-bacen-sb-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0284C7;
  box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.7);
  animation: bacenPulse 1.8s infinite;
}

@keyframes bacenPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(2, 132, 199, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(2, 132, 199, 0); }
}

.cli-bacen-sb-placeholder-box {
  background: #F8FAFC;
  border: 1.5px dashed #CBD5E1;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.cli-bacen-sb-ph-icon {
  font-size: 16px;
  flex-shrink: 0;
}

.cli-bacen-sb-ph-text {
  font-size: 12.5px;
  font-weight: 700;
  color: #475569;
  line-height: 1.35;
}

.cli-bacen-sb-callout {
  background: #E0F2FE;
  border: 1px solid #BAE6FD;
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.cli-bacen-sb-callout.email {
  background: #FEF3C7;
  border-color: #FDE68A;
}

.cli-bacen-sb-callout-text {
  font-size: 13px;
  font-weight: 800;
  color: #0369A1;
  line-height: 1.3;
}

.cli-bacen-sb-callout.email .cli-bacen-sb-callout-text {
  color: #92400E;
}

.cli-bacen-sb-desc {
  font-size: 12px;
  color: #64748B;
  line-height: 1.45;
  margin: 0;
}

.cli-bacen-sb-btn-link {
  background: linear-gradient(135deg, #0A192F 0%, #1E3A5F 100%);
  border: 1.5px solid #C5A059;
  color: #FFFFFF !important;
  font-size: 12.5px;
  font-weight: 800;
  padding: 11px 16px;
  border-radius: 10px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(10, 25, 47, 0.15);
  transition: transform 0.15s, box-shadow 0.15s;
  margin-bottom: 8px;
}

.cli-bacen-sb-btn-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(10, 25, 47, 0.25);
  color: #FFFFFF !important;
}

.cli-bacen-sb-arrow {
  color: #C5A059;
  font-size: 14px;
  font-weight: 900;
}

.cli-bacen-sb-btn-confirm {
  width: 100%;
  background: #F0FDF4;
  border: 1px solid #86EFAC;
  color: #166534;
  font-size: 11.5px;
  font-weight: 700;
  padding: 7px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.cli-bacen-sb-btn-confirm:hover {
  background: #DCFCE7;
}

.cli-bacen-sb-btn-confirm.email {
  background: #16A34A;
  border-color: #15803D;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 800;
  padding: 9px 12px;
  box-shadow: 0 2px 6px rgba(22, 163, 74, 0.25);
}

.cli-bacen-sb-btn-confirm.email:hover {
  background: #15803D;
}

.cli-bacen-sb-instrucoes {
  font-size: 11.5px;
  color: #475569;
  background: #F8FAFC;
  padding: 8px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
  border: 1px solid #E2E8F0;
  line-height: 1.35;
}

.cli-bacen-sb-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: #166534;
  background: #DCFCE7;
  padding: 4px 10px;
  border-radius: 6px;
  margin-top: 6px;
}

/* Card Contrato Sidebar (quando houver contrato de intermediação) */
.cli-contrato-sidebar-card {
  background: #FFFFFF;
  border-radius: 14px;
  border: 1px solid #E2E8F0;
  border-left: 6px solid #C5A059;
  padding: 18px 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.cli-contrato-sidebar-card.assinado {
  border-left-color: #16A34A;
  background: #F0FDF4;
}

/* ========================================================
   CARD UNIFICADO: MENSAGEM INSPIRADORA + CARTA BACEN EMBUTIDA
   Envolve a imagem das montanhas e abriga a caixa BACEN internamente
   ======================================================== */
.cli-quote-bacen-unified {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
  background-image: url('/quote_skyline_continuation.jpg?v=20261020_skyline_v1');
  background-position: center 20%;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 24px 20px 20px 20px;
  display: flex;
  flex-direction: column;
}

.cli-quote-bacen-unified::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.56) 0%, rgba(15, 23, 42, 0.20) 42%, rgba(15, 23, 42, 0.68) 100%);
  z-index: 1;
  pointer-events: none;
}

.cli-quote-bacen-top {
  position: relative;
  z-index: 2;
  margin-bottom: 22px;
}

.cli-quote-bacen-text {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 19px;
  font-weight: 500;
  color: #FFFFFF;
  line-height: 1.36;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85), 0 1px 3px rgba(0, 0, 0, 0.9);
  letter-spacing: -0.2px;
}

.cli-quote-bacen-bar {
  width: 44px;
  height: 2.5px;
  background: #C5A059;
  margin-top: 12px;
  border-radius: 2px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* A caixa BACEN embutida dentro da imagem com efeito de vidro (glassmorphic) */
.cli-quote-bacen-unified .cli-bacen-sidebar-card {
  position: relative;
  z-index: 2;
  margin-bottom: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.20), 0 2px 6px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.85);
}

.cli-quote-bacen-unified .cli-bacen-sidebar-card.aguardando {
  border-left: 5px solid #64748B;
  background: rgba(255, 255, 255, 0.96);
}

.cli-quote-bacen-unified .cli-bacen-sidebar-card.liberada {
  border: 1.5px solid #0284C7;
  border-left: 6px solid #0284C7;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 26px rgba(2, 132, 199, 0.24);
}

.cli-quote-bacen-unified .cli-bacen-sidebar-card.email-mode {
  border: 1.5px solid #F59E0B;
  border-left: 6px solid #D97706;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 26px rgba(217, 119, 6, 0.22);
}

.cli-quote-bacen-unified .cli-bacen-sidebar-card.aprovada {
  border: 1.5px solid #16A34A;
  border-left: 6px solid #16A34A;
  background: rgba(240, 253, 244, 0.97);
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.2);
}

/* ==========================================================================
   SIMULAÇÕES & COTAÇÕES DE CRÉDITO MULTI-BANCOS (EXECUTIVE SUITE)
   ========================================================================== */

.sim-page-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Stepper Superior */
.sim-stepper-bar {
  background: #FFFFFF;
  border: 1px solid var(--border-color, #E2E8F0);
  border-radius: 12px;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.sim-step-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.sim-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s;
}

.sim-step-item.active .sim-step-num {
  background: var(--navy-dark, #0A192F);
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(10, 25, 47, 0.25);
}

.sim-step-item.completed .sim-step-num {
  background: #10B981;
  color: #FFFFFF;
}

.sim-step-item.pending .sim-step-num {
  background: #E2E8F0;
  color: #64748B;
}

.sim-step-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #64748B;
}

.sim-step-item.active .sim-step-title {
  color: var(--navy-dark, #0A192F);
  font-weight: 700;
}

.sim-step-divider {
  flex: 1;
  height: 2px;
  background: #E2E8F0;
  margin: 0 16px;
}

/* Painel Esquerdo: Cards de Amortização (SAC / PRICE) */
.sim-amort-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.sim-amort-card {
  border: 1.5px solid #E2E8F0;
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
  background: #FFFFFF;
  transition: all 0.2s ease;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  user-select: none;
}

.sim-amort-card:hover {
  border-color: #94A3B8;
  background: #F8FAFC;
}

.sim-amort-card.active {
  border-color: #2563EB;
  background: #EFF6FF;
  box-shadow: 0 0 0 1px #2563EB;
}

.sim-amort-radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid #94A3B8;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #FFFFFF;
}

.sim-amort-card.active .sim-amort-radio {
  border-color: #2563EB;
  background: #2563EB;
}

.sim-amort-radio-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FFFFFF;
  display: none;
}

.sim-amort-card.active .sim-amort-radio-dot {
  display: block;
}

/* Bank Filter Pills */
.sim-bank-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.sim-bank-pill:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
  color: #1E293B;
}

.sim-bank-pill.active {
  background: var(--navy-dark, #0A192F);
  border-color: var(--navy-dark, #0A192F);
  color: #FFFFFF;
}

.sim-bank-pill-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.08);
  font-size: 11px;
  font-weight: 700;
}

.sim-bank-pill.active .sim-bank-pill-count {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

/* Carousel de Propostas */
.sim-carousel-outer {
  position: relative;
  display: flex;
  align-items: center;
}

.sim-carousel-cards {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 8px 4px 16px 4px;
  width: 100%;
  scrollbar-width: none;
}

.sim-carousel-cards::-webkit-scrollbar {
  display: none;
}

.sim-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #334155;
  cursor: pointer;
  z-index: 5;
  transition: all 0.2s;
}

.sim-carousel-btn:hover {
  background: #F8FAFC;
  border-color: #94A3B8;
  color: #0F172A;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.sim-carousel-btn.prev {
  left: -16px;
}

.sim-carousel-btn.next {
  right: -16px;
}

/* Card de Proposta Bancária */
.sim-prop-card {
  flex: 0 0 310px;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
}

.sim-prop-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.sim-prop-card.best-card {
  border: 2px solid #2563EB;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.12);
}

.sim-prop-logo-box {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: -0.3px;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.sim-prop-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px dashed #F1F5F9;
  font-size: 12.5px;
}

.sim-prop-stat-row:last-child {
  border-bottom: none;
}

.sim-prop-stat-label {
  color: #64748B;
  font-weight: 500;
}

.sim-prop-stat-val {
  color: #0F172A;
  font-weight: 600;
}

/* Abas Analíticas */
.sim-tabs-nav {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid #E2E8F0;
  padding-bottom: 12px;
  margin-bottom: 16px;
  overflow-x: auto;
}

.sim-tab-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  border: none;
  color: #64748B;
  cursor: pointer;
  transition: all 0.15s ease;
}

.sim-tab-button:hover {
  background: #F1F5F9;
  color: #1E293B;
}

.sim-tab-button.active {
  background: var(--navy-dark, #0A192F);
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(10, 25, 47, 0.2);
}

/* Modal Amortização Detalhada */
.sim-amort-table-box {
  max-height: 400px;
  overflow-y: auto;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
}

.sim-amort-table-box table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}

.sim-amort-table-box th {
  position: sticky;
  top: 0;
  background: #F8FAFC;
  padding: 10px 12px;
  font-weight: 700;
  color: #334155;
  border-bottom: 1px solid #CBD5E1;
  text-align: right;
  z-index: 1;
}

.sim-amort-table-box th:first-child {
  text-align: center;
}

.sim-amort-table-box td {
  padding: 8px 12px;
  border-bottom: 1px solid #F1F5F9;
  text-align: right;
  color: #1E293B;
}

.sim-amort-table-box td:first-child {
  text-align: center;
  font-weight: 600;
}

.sim-amort-table-box tr:hover td {
  background: #F8FAFC;
}

/* Modal Detalhes da Empresa do Finder - Perímetro e Encaixe Perfeito */
#modal-fnd-detalhes-empresa .modal-content {
  max-width: 880px !important;
  width: 94% !important;
  box-sizing: border-box !important;
}

@media (max-width: 768px) {
  #modal-fnd-detalhes-empresa .modal-content {
    width: 96% !important;
    padding: 16px !important;
  }
}

