.fgts-result-container {
  container: fgts-results / inline-size;
}

.fgts-result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
  width: 100%;
}

@container fgts-results (max-width: 900px) {
  .fgts-result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@container fgts-results (max-width: 560px) {
  .fgts-result-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.fgts-result-card {
  min-width: 0;
  max-width: 100%;
  min-height: 224px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #111A36;
  border: 1px solid var(--bank-color);
  border-radius: 12px;
  text-align: center;
  overflow-wrap: anywhere;
}

.fgts-result-card__header {
  position: relative;
  min-height: 28px;
  padding-inline: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fgts-result-card__bank {
  color: var(--bank-color);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.35;
}

.fgts-result-card__details {
  position: absolute;
  top: 0;
  right: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--bank-color);
  border-radius: 6px;
  color: var(--bank-color);
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
}

.fgts-result-card__details:hover {
  background: #172241;
}

.fgts-result-card__details:focus-visible {
  outline: 2px solid var(--bank-color);
  outline-offset: 3px;
}

.fgts-result-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 0;
}

.fgts-result-card__status {
  color: #35D49A;
  font-size: 0.82rem;
  font-weight: 800;
}

.fgts-result-card__status--error {
  color: #FF657A;
}

.fgts-result-card__label {
  color: #A2AFD0;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.5;
}

.fgts-result-card__value {
  color: #35D49A;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}

.fgts-result-card__table-name {
  color: #F7F9FF;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.4;
}

.fgts-result-card__message {
  color: #A2AFD0;
  font-size: 0.82rem;
  line-height: 1.5;
  white-space: pre-line;
}

.fgts-result-card__cpf,
.fgts-result-card__waiting {
  color: #7080AA;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.5;
}

.fgts-result-card__loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--bank-color);
  font-size: 0.92rem;
  font-weight: 900;
}
/*$vite$:1*/