/* ========== ESTILOS DA FATURA DO CARTÃO ========== */
.credit-card-statement {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Cabeçalho da fatura */
.statement-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.statement-header h3 {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.3rem;
  color: var(--pure-white);
}

.statement-header i {
  color: var(--primary-accent);
  font-size: 1.2rem;
}

/* Bandeira do cartão */
.card-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.card-brand img {
  height: 28px;
  filter: brightness(0) invert(1);
}

.card-brand span {
  font-size: 0.9rem;
  color: var(--secondary-gray);
}

/* Resumo da fatura */
.statement-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.summary-item {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.summary-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.summary-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.summary-label span {
  font-size: 0.9rem;
  color: var(--secondary-gray);
}

/* Status da fatura */
.status-badge {
  font-size: 0.75rem;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-weight: 600;
}

.status-badge.current {
  background: rgba(255, 4, 1, 0.15);
  color: var(--primary-accent);
}

.status-badge.available {
  background: rgba(0, 168, 89, 0.15);
  color: #00A859;
}

/* Valores */
.summary-value {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--pure-white);
}

.summary-value.highlight {
  color: var(--primary-accent);
}

/* Barra de progresso */
.progress-container {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  margin-bottom: 0.5rem;
}

.progress-bar {
  height: 100%;
  border-radius: 3px;
  background: var(--gradient-accent);
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--secondary-gray);
}

/* Medidor de limite */
.limit-gauge {
  margin-top: 1.5rem;
}

.gauge-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  margin-bottom: 0.5rem;
}

.gauge-fill {
  height: 100%;
  background: var(--gradient-accent);
  border-radius: 3px;
}

.gauge-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--secondary-gray);
}

/* Informações de vencimento */
.due-date-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.due-date-card {
  background: rgba(8, 9, 62, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.date-content {
  display: flex;
  flex-direction: column;
}

.date-label {
  font-size: 0.9rem;
  color: var(--secondary-gray);
  margin-bottom: 0.5rem;
}

.date-value {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--pure-white);
}

.days-remaining {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--primary-accent);
}

.days-remaining i {
  font-size: 1rem;
}

.date-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 4, 1, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-accent);
  font-size: 1.3rem;
}

/* Opções de pagamento */
.payment-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.payment-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1rem;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.payment-btn i {
  font-size: 1.1rem;
}

.payment-btn.full {
  background: var(--gradient-accent);
  color: white;
}

.payment-btn.partial {
  background: rgba(255, 4, 1, 0.1);
  color: var(--primary-accent);
  border: 1px solid rgba(255, 4, 1, 0.3);
}

.payment-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(255, 4, 1, 0.2);
}

/* Ações da fatura */
.statement-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.statement-actions .action-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--pure-white);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.statement-actions .action-btn:hover {
  background: rgba(255, 4, 1, 0.2);
  border-color: rgba(255, 4, 1, 0.3);
}

/* Responsividade */
@media (max-width: 992px) {
  .statement-summary {
      grid-template-columns: 1fr;
  }
  
  .due-date-info {
      grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .credit-card-statement {
      padding: 1.5rem;
  }
  
  .statement-header {
      flex-direction: column;
      align-items: flex-start;
      gap: 1rem;
  }
  
  .payment-btn {
      padding: 0.8rem;
  }
}

@media (max-width: 480px) {
  .statement-actions {
      flex-direction: column;
  }
  
  .statement-actions .action-btn {
      width: 100%;
      justify-content: center;
  }
}
