/* =============================================================================
   pg-cards-credit.css — Page-specific styles for Cards Credit (Tailwind redesign)
   ============================================================================= */

/* --- Contraste de texto: seções/caixas com fundo escuro herdam texto branco --- */
.tw-bg-radial-dark,
.bg-dock-dark,
.bg-dock-gray {
  color: #fff;
}
.box-gray {
  color: #fff;
}

/* --- Nossos cartões: mobile carousel (hidden on md+, needs !important to override owl-loaded) --- */
.cards-owl-mobile-only { display: block; }
@media (min-width: 768px) {
  .cards-owl-mobile-only { display: none !important; }
}
.cards-owl-mobile-only .owl-dots .owl-dot span { height: 8px; width: 8px; }

/* --- Bandeiras: separador responsivo entre colunas --- */
.section-bandeiras .border-separator-right { border-right: none; }
@media (min-width: 768px) {
  .section-bandeiras .border-separator-right {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
  }
}

/* --- Tabela comparativa --- */
.table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 10px;
  color: #fff;
}

.comparison-table th,
.comparison-table td {
  border: 1px solid #dbdbdb;
  padding: 10px;
  text-align: center;
  font-weight: bold;
  vertical-align: middle;
}

.comparison-table th {
  background-color: #14191A;
  color: #00cccc;
  font-size: 0.8rem;
}

.comparison-table th:first-child {
  border: none;
  border-top-left-radius: 10px;
  background-color: #14191A;
}

.comparison-table thead th:nth-child(2) {
  border-top-left-radius: 10px;
  width: 13%;
}

.comparison-table th:last-child {
  border-top-right-radius: 10px;
}

.comparison-table tbody tr:nth-child(odd)  { background-color: #14191A; }
.comparison-table tbody tr:nth-child(even) { background-color: #0D3333; }
.comparison-table tbody tr:hover           { background-color: #1a3a3a; }

.comparison-table tbody tr:last-child td:first-child { border-bottom-left-radius: 10px; }
.comparison-table tbody tr:last-child td:last-child  { border-bottom-right-radius: 10px; }
.comparison-table tbody tr:nth-child(1) td:first-child { border-top-left-radius: 10px; }

.comparison-table tbody tr td:first-child {
  text-align: left;
  padding-left: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.comparison-table td img {
  width: 24px;
  height: 24px;
  display: inline-block;
  margin: 0 auto;
  vertical-align: middle;
}

.comparison-table .tooltip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  background: rgba(0, 204, 204, 0.2);
  border: 1px solid rgba(0, 204, 204, 0.4);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  color: #00cccc;
  cursor: help;
  margin-left: 8px;
  outline: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.comparison-table .tooltip .tooltiptext {
  visibility: hidden;
  opacity: 0;
  background: #1a2222;
  color: #fff;
  text-align: left;
  border-radius: 6px;
  padding: 6px 10px;
  position: absolute;
  z-index: 20;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 11px;
  font-weight: 400;
  pointer-events: none;
  transition: opacity 0.15s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 216, 216, 0.2);
}

.comparison-table .tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

@media (min-width: 992px) {
  .comparison-table tbody tr td:first-child { min-width: 280px; }
  .comparison-table th,
  .comparison-table td { min-width: 110px; }
  .table-container { overflow: scroll; }
  .comparison-table { padding-top: 1rem; }
}
