/* ========================================
   INVOICES PAGE STYLES
   ======================================== */

/* ==================== INVOICES SECTION ==================== */
.invoices-section {
  margin-bottom: 2rem;
}

.invoices-section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--bbt-text-default, #004854);
  margin-bottom: 1.5rem;
}

/* ==================== INVOICE CARD ==================== */
.invoice-card {
  background: var(--bbt-surface-white, #ffffff);
  border: none;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s ease;
}

.invoice-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Invoice Card Header */
.invoice-card-header {
  padding: 1.25rem;
  cursor: default;
}

/* Invoice Badges */
.invoice-card .badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.invoice-detail {
  display: flex;
  flex-direction: column;
}

/* Invoice Card Body (Expandable) */
.invoice-card-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.invoice-card.expanded .invoice-card-body {
  max-height: 1000px;
  padding: 1.25rem;
}

/* Invoice Details Section */
.invoice-details-section {
  padding: 1rem;
  background-color: var(--bbt-neutral-100, #f8f9fa);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.invoice-details-section:last-child {
  margin-bottom: 0;
}

/* ==================== RESPONSIVE STYLES ==================== */


/* Tablet and below (max-width: 991px) */
@media (max-width: 991px) {
  /* Invoice card adjustments for mobile */
  .invoice-card {
    border-radius: 0.5rem;
  }

  .invoice-card-header {
    padding: 1rem;
  }

  .invoice-card.expanded .invoice-card-body {
    padding: 1rem;
  }
}

/* Mobile (max-width: 576px) */
@media (max-width: 576px) {
  .invoices-section-title {
    font-size: 1.125rem;
  }

  .invoice-card-header {
    padding: 1rem;
  }
}
