:root {
  --primary-color: #4caf50;
  --primary-dark: #388e3c;
  --primary-light: #e8f5e9;
  --secondary-color: #ff9800;
  --text-color: #333;
  --text-light: #707070;
  --background-color: #ffffff;
  --card-background: #ffffff;
  --border-color: #e0e0e0;
  --success-color: #4caf50;
  --warning-color: #ffc107;
  --accent-color: #e7f7e8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  padding: 20px 0;
  background-color: white;
  box-shadow: none;
  margin-bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.logo h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-color);
  line-height: 1.2;
}

.clover-logo {
  width: 36px;
  height: 36px;
}

.clover-logo-small {
  width: 24px;
  height: 24px;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background-color: var(--accent-color);
  padding: 10px;
  border-radius: 8px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--primary-color);
  display: block;
}

/* User Profile Styles */
.user-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: 15px;
}

.user-credits {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--accent-color);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--primary-color);
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
}

.user-credits:hover {
  background-color: var(--primary-light);
  transform: translateY(-1px);
}

.credits-amount {
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary-color);
  line-height: 1;
}

.credits-label {
  font-size: 0.7rem;
  color: var(--text-light);
  text-transform: lowercase;
  line-height: 1;
  margin-top: 2px;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--accent-color);
}

.user-initials {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--accent-color);
  background-color: var(--primary-color);
  color: white;
  display: none;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.user-name {
  font-weight: 500;
  color: var(--text-color);
  font-size: 0.9rem;
}

/* Dropdown Menu Styles */
.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  min-width: 150px;
  z-index: 1000;
  margin-top: 5px;
}

.dropdown-item {
  display: block;
  padding: 12px 16px;
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: background-color 0.2s;
}

.dropdown-item:hover {
  background-color: var(--accent-color);
}

.dropdown-item:first-child {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.dropdown-item:last-child {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

/* Utility Classes */
.hidden {
  display: none !important;
}

/* Statement Page Styles */
.statement-section {
  padding: 40px 0;
}

.statement-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 15px;
}

.back-button {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 500;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s;
}

.back-button:hover {
  color: var(--primary-dark);
}

.statement-header h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
}

.current-balance {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.current-balance span:first-child {
  font-size: 0.8rem;
  color: var(--text-light);
}

.balance-amount {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
}

.statement-container {
  max-height: 600px;
  overflow-y: auto;
}

/* Statement Table Styles */
.statement-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.statement-table thead {
  background-color: #f7fafc;
  position: sticky;
  top: 0;
}

.statement-table th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--text-light);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--border-color);
}

.statement-table th.text-right {
  text-align: right;
}

.statement-table th:nth-child(4),
.statement-table th:nth-child(5) {
  text-align: center;
}

.statement-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

.statement-table tbody tr:hover {
  background-color: #f7fafc;
}

.statement-date {
  white-space: nowrap;
  color: var(--text-light);
  font-size: 0.85rem;
}

.statement-description {
  font-weight: 500;
  color: var(--text-color);
  max-width: 300px;
}

.statement-booking {
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--text-light);
}

.statement-airport {
  font-weight: 500;
  color: var(--text-color);
  text-align: center;
}

.statement-points {
  text-align: right;
  font-weight: 600;
  white-space: nowrap;
}

.statement-points.credit {
  color: var(--success-color);
}

.statement-points.debit {
  color: #e53e3e;
}

/* Responsive Design for Statement */
@media (max-width: 768px) {
  .statement-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .current-balance {
    align-items: flex-start;
  }

  /* Mobile table adjustments */
  .statement-table {
    font-size: 0.8rem;
  }

  .statement-table th,
  .statement-table td {
    padding: 10px 8px;
  }

  /* Hide booking code on mobile */
  .statement-table th:nth-child(3),
  .statement-table td:nth-child(3) {
    display: none;
  }

  .statement-description {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

@media (max-width: 480px) {
  /* Hide origin/destination on very small screens */
  .statement-table th:nth-child(4),
  .statement-table td:nth-child(4),
  .statement-table th:nth-child(5),
  .statement-table td:nth-child(5) {
    display: none;
  }
}

  /* Hide user name on mobile, keep picture and credits */
  .user-profile .user-name {
    display: none;
  }

  .user-profile {
    gap: 8px;
    margin-right: 10px;
  }
}

/* Search History Page Styles */
.history-section,
.details-section {
  padding: 40px 0;
}

.history-header,
.details-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 15px;
}

.history-header h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
}

.history-summary {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.history-summary span:first-child {
  font-size: 0.8rem;
  color: var(--text-light);
}

.summary-count {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
}

.search-summary {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.search-summary span:first-child {
  font-size: 0.8rem;
  color: var(--text-light);
}

.history-container {
  max-height: 600px;
  overflow-y: auto;
}

.history-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.history-item {
  padding: 20px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background-color: white;
  transition: box-shadow 0.2s, transform 0.1s;
}

.history-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.history-item-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.search-route h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0 0 8px 0;
}

.search-details {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-light);
  flex-wrap: wrap;
}

.separator {
  color: var(--border-color);
}

.search-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.search-date {
  font-size: 0.8rem;
  color: var(--text-light);
}

.search-status {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
}

.search-status.completed {
  background-color: #e6fffa;
  color: #00695c;
}

.search-status.failed {
  background-color: #ffebee;
  color: #c62828;
}

.search-status.pending {
  background-color: #fff3e0;
  color: #ef6c00;
}

.flight-count {
  font-size: 0.8rem;
  color: #666;
  font-weight: 500;
}

/* Search Details Page Styles */
.details-header h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
}

.search-info {
  margin-bottom: 0;
}

.search-details-header h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0 0 15px 0;
}

.search-metadata {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.search-params {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: var(--text-color);
  flex-wrap: wrap;
}

.search-status-info {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* Search Results Styles */
.results-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.result-card {
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  transition: box-shadow 0.2s;
}

.result-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 15px;
}

.airline-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.airline-name {
  font-weight: 600;
  color: var(--text-color);
  font-size: 1.1rem;
}

.flight-class {
  font-size: 0.8rem;
  color: var(--text-light);
}

.price-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
}

.original-price {
  font-size: 0.9rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.flight-route {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.route-point {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.airport-code {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-color);
}

.time {
  font-size: 0.9rem;
  color: var(--text-light);
}

.route-line {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 120px;
}

.duration {
  font-weight: 500;
  color: var(--text-color);
}

.connections {
  font-size: 0.8rem;
  color: var(--text-light);
}

.result-details {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.detail-item {
  display: flex;
  gap: 4px;
}

.label {
  font-size: 0.9rem;
  color: var(--text-light);
}

.value {
  font-size: 0.9rem;
  color: var(--text-color);
  font-weight: 500;
}

.result-actions {
  display: flex;
  justify-content: flex-end;
}

/* Pagination Styles */
.pagination {
  margin-top: 30px;
}

.pagination-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pagination-btn {
  padding: 8px 16px;
  border: 1px solid var(--border-color);
  background-color: white;
  color: var(--text-color);
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.pagination-btn:hover {
  background-color: var(--accent-color);
  border-color: var(--primary-color);
}

.pagination-btn.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.card {
  background-color: var(--card-background);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 30px;
  margin-bottom: 30px;
}

.modern-card {
  border: 1px solid var(--accent-color);
}

.hero-section {
  text-align: center;
  padding: 10px 0 5px;
}

.hero-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-color);
}

.hero-content .subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 30px;
}

/* Form Styles */
form {
  width: 100%;
}

.form-group.trip-type,
.form-group.airlines-filter {
  width: 100%;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row:last-child {
  justify-content: flex-end;
}

.form-group {
  flex: 1;
  min-width: 200px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: var(--text-light);
}

input[type='text'],
input[type='date'],
input[type='number'] {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-size: 16px;
  transition: all 0.3s ease;
  background-color: #fafafa;
}

input[type='text']:focus,
input[type='date']:focus,
input[type='number']:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.2);
}

.radio-group,
.checkbox-group {
  display: flex;
  gap: 15px;
}

.radio-group input[type='radio'],
.checkbox-group input[type='checkbox'] {
  margin-right: 5px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 8px 12px;
  transition: all 0.2s;
  cursor: pointer;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  margin-bottom: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.checkbox-item:hover {
  background-color: #f9f9f9;
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.checkbox-item:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  background-color: #f0f0f0;
}

.checkbox-item input[type='checkbox']:checked+.airline-label {
  font-weight: 600;
  color: var(--primary-color);
}

.checkbox-item input[type='checkbox']:checked+.airline-label::after {
  content: '✓';
  position: absolute;
  right: 10px;
  color: var(--success-color);
}

.airline-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  padding: 4px;
}

.airline-checkbox-logo {
  width: 24px;
  height: 24px;
  transition: transform 0.2s;
}

.checkbox-item:hover .airline-checkbox-logo {
  transform: scale(1.1);
}

.airline-icon-mini {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: var(--primary-light);
  color: var(--primary-color);
  border-radius: 50%;
  font-weight: 600;
  font-size: 12px;
  transition: transform 0.2s;
}

.checkbox-item:hover .airline-icon-mini {
  transform: scale(1.1);
}

.filter-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.btn {
  padding: 14px 28px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Results Styles */
.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 0;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(25, 118, 210, 0.2);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 1s ease-in-out infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hidden {
  display: none !important;
}

.results-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

.tab-btn {
  padding: 10px 20px;
  background-color: transparent;
  border: none;
  border-radius: 5px 5px 0 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: color 0.2s ease;
}

.tab-btn.active {
  color: var(--primary-color);
  border-bottom: 3px solid var(--primary-color);
}

.download-btn {
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  margin-left: auto;
  transition: background-color 0.3s ease;
}

.download-btn:hover {
  background-color: var(--primary-dark);
}

.price-summary {
  padding: 15px 20px;
  background-color: #e3f2fd;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.lowest-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.lowest-price span {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-light);
}

.lowest-price h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
}

/* Airline summary styles */
.airline-summary-container {
  flex: 1;
  min-width: 300px;
}

.airline-summary {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.airline-summary-item {
  display: flex;
  align-items: center;
  background-color: #f9f9f9;
  padding: 6px 12px;
  border-radius: 20px;
  gap: 8px;
  font-size: 13px;
  border: 1px solid var(--border-color);
}

.airline-summary-logo {
  width: 18px;
  height: 18px;
}

.airline-summary-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background-color: var(--primary-light);
  color: var(--primary-color);
  border-radius: 50%;
  font-weight: 600;
  font-size: 12px;
}

.airline-summary-count {
  color: var(--text-light);
}

.airline-summary-price {
  font-weight: 600;
  color: var(--success-color);
}

.flights-table-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.flight-card {
  display: flex;
  flex-direction: column;
  background-color: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid var(--border-color);
  margin-bottom: 20px;
  overflow: hidden;
}

.flight-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

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

.airline {
  font-weight: 600;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #f9f9f9;
  padding: 8px 12px;
  border-radius: 8px;
}

.airline-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--primary-color);
}

.airline-logo {
  width: 60px;
  height: 30px;
  object-fit: contain;
  margin-right: 5px;
}

.prices-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  background-color: #f9f9f9;
  border-radius: 8px;
  min-width: 220px;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.price-label {
  font-size: 14px;
  color: var(--text-light);
}

.price-original {
  font-size: 15px;
  text-decoration: line-through;
  color: var(--text-light);
}

.price-final {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
}

.price-miles {
  font-size: 15px;
  color: var(--secondary-color);
  font-weight: 500;
}

.price-disclaimer {
  font-size: 12px;
  color: var(--text-light);
  font-style: italic;
}

.flight-body {
  display: flex;
  justify-content: space-between;
  padding-top: 10px;
  position: relative;
}

.flight-details {
  flex: 3;
}

.route {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  background-color: #f5f9ff;
  padding: 12px 15px;
  border-radius: 8px;
}

.airport {
  font-weight: 700;
  font-size: 20px;
  color: var(--primary-dark);
}

.route-divider {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-light), var(--primary-color));
  margin: 0 15px;
  position: relative;
  max-width: 120px;
}

.route-divider::before {
  content: '→';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--primary-color);
  font-size: 18px;
  font-weight: bold;
}

.route-summary {
  font-weight: 600;
  font-size: 16px;
  color: var(--primary-dark);
  line-height: 1.3;
  text-align: center;
  width: 100%;
}

.time-info {
  display: flex;
  justify-content: space-between;
  color: var(--text-light);
  font-size: 14px;
  padding: 0 10px;
  margin-bottom: 15px;
}

.departure,
.arrival {
  display: flex;
  flex-direction: column;
}

.time {
  font-weight: 700;
  color: var(--text-color);
  font-size: 18px;
}

.date {
  font-size: 14px;
}

.flight-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
  margin-left: 20px;
  min-width: 140px;
}

.duration {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 5px;
}

.duration-value {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 16px;
}

.features {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.feature {
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background-color: #f0f0f0;
  color: var(--text-color);
  border: 1px solid #ddd;
}

.feature.baggage {
  background-color: #e8f5e9;
  color: var(--success-color);
  border: 1px solid #c8e6c9;
}

.feature.no-baggage {
  background-color: #fff3e0;
  color: var(--warning-color);
  border: 1px solid #ffe0b2;
}

.no-results {
  text-align: center;
  padding: 40px 0;
}

.no-results h3 {
  font-size: 20px;
  color: var(--text-light);
  margin-bottom: 10px;
}

/* Footer */
footer {
  text-align: center;
  padding: 30px 0;
  color: var(--text-light);
  font-size: 14px;
  margin-top: 60px;
  border-top: 1px solid var(--accent-color);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 18px;
  color: var(--text-color);
}

/* Open Search Styles */
.date-pair-section {
  margin-bottom: 30px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
}

.date-pair-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--primary-light);
  padding: 12px 20px;
  border-bottom: 1px solid var(--border-color);
}

.date-pair-header h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-dark);
  margin: 0;
}

.date-pair-price {
  font-size: 14px;
  color: var(--text-light);
}

.date-pair-price strong {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 16px;
}

.date-pair-flights {
  padding: 15px;
  background-color: #fff;
}

/* Month input style */
input[type='month'] {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-size: 16px;
  transition: all 0.3s ease;
  background-color: #fafafa;
}

/* Search progress indicator */
.search-progress {
  text-align: center;
  padding: 20px;
  margin-bottom: 20px;
  background-color: var(--bg-light);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  color: var(--primary-color);
  font-weight: 600;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    background-color: var(--bg-light);
  }

  50% {
    background-color: var(--primary-light);
  }

  100% {
    background-color: var(--bg-light);
  }
}

input[type='month']:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.2);
}

@media (max-width: 768px) {
  .form-group {
    min-width: 100%;
  }

  .radio-group {
    flex-wrap: wrap;
  }

  .flight-body {
    flex-direction: column;
  }

  .flight-meta {
    align-items: flex-start;
    margin-top: 15px;
    margin-left: 0;
    width: 100%;
  }

  .airline span {
    display: none;
  }

  .features {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
  }

  .feature {
    font-size: 11px;
    padding: 4px 8px;
    flex-shrink: 0;
  }

  .date-pair-header {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Responsive Design for History and Details */
  .history-header,
  .details-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .history-summary,
  .search-summary {
    align-items: flex-start;
  }

  .history-item-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .search-meta {
    align-items: flex-start;
    width: 100%;
  }

  .result-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .price-info {
    align-items: flex-start;
  }

  .flight-route {
    flex-direction: column;
    gap: 15px;
  }

  .route-line {
    order: -1;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
  }

  .date-pair-price {
    margin-top: 8px;
  }
}

/* Clean Form Styles */
.clean-form {
  padding: 32px;
  max-width: 600px;
  margin: 0 auto;
}

.form-section {
  margin-bottom: 24px;
}

.section-label {
  display: block;
  font-weight: 600;
  font-size: 16px;
  color: var(--text-color);
  margin-bottom: 12px;
}

.input-label {
  display: block;
  font-weight: 500;
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 6px;
}

.input-group {
  flex: 1;
}

.input-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.2s ease;
}

.input-group input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

/* Trip Type Options */
.trip-type-options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.trip-type-options input[type='radio'] {
  display: none;
}

.option-btn {
  padding: 12px 20px;
  border: 2px solid var(--border-color);
  border-radius: 25px;
  background: white;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  flex: 1;
  min-width: 120px;
}

.option-btn:hover {
  border-color: var(--primary-color);
}

input[type='radio']:checked+.option-btn {
  background: var(--primary-light);
  color: var(--primary-dark);
  border-color: transparent;
}

/* Route Inputs */
.route-inputs {
  display: flex;
  align-items: center;
  gap: 16px;
}

.swap-button {
  background: var(--primary-light);
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  color: var(--primary-color);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.swap-button:hover {
  background: var(--primary-color);
  color: white;
  transform: rotate(180deg);
}

/* Date Inputs */
.date-inputs {
  display: flex;
  gap: 16px;
}

/* Airline Options */
.airline-options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.airline-options input[type='checkbox'] {
  display: none;
}

.airline-btn {
  padding: 12px 24px;
  border: 2px solid var(--border-color);
  border-radius: 25px;
  background: white;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  flex: 1;
  min-width: 80px;
}

.airline-btn:hover {
  border-color: var(--primary-color);
}

input[type='checkbox']:checked+.airline-btn {
  background: var(--primary-light);
  color: var(--primary-dark);
  border-color: transparent;
}

/* Passenger Inputs */
.passenger-inputs {
  display: flex;
  gap: 16px;
}

.passenger-inputs .input-group input {
  text-align: center;
}

/* Quantity Control */
.quantity-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  background-color: white;
}

.quantity-btn {
  width: 40px;
  height: 44px;
  border: none;
  background-color: var(--accent-color);
  color: var(--primary-color);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-btn:hover {
  background-color: var(--primary-light);
}

.quantity-btn:active {
  background-color: var(--primary-color);
  color: white;
}

.quantity-btn:disabled {
  background-color: #f5f5f5;
  color: #ccc;
  cursor: not-allowed;
}

.quantity-control input {
  flex: 1;
  border: none;
  padding: 12px 8px;
  text-align: center;
  font-size: 16px;
  background-color: white;
  min-width: 60px;
}

.quantity-control input:focus {
  outline: none;
}

/* Search Button */
.search-btn {
  width: 100%;
  padding: 16px 32px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.search-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.search-btn:active {
  transform: translateY(0);
}

.search-btn.cancel {
  background: #f44336;
}

.search-btn.cancel:hover {
  background: #d32f2f;
}

/* Responsive Design */
@media (max-width: 768px) {
  .clean-form {
    padding: 20px;
    margin-bottom: 32px;
    /* Add space between form and results */
  }

  .form-section {
    margin-bottom: 20px;
  }

  .section-label {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .trip-type-options {
    flex-direction: row;
    gap: 8px;
    flex-wrap: wrap;
  }

  .option-btn {
    min-width: unset;
    padding: 14px 20px;
  }

  .route-inputs {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }

  .route-inputs .input-group {
    width: 100%;
  }

  .route-inputs .input-group input {
    padding: 14px 16px;
    font-size: 16px;
    /* Prevents zoom on iOS */
  }

  .swap-button {
    order: 2;
    align-self: center;
    margin: -8px 0;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .date-inputs {
    flex-direction: column;
    gap: 16px;
  }

  .date-inputs .input-group input {
    padding: 14px 16px;
    font-size: 16px;
    /* Prevents zoom on iOS */
  }

  .airline-options {
    flex-direction: row;
    gap: 8px;
    flex-wrap: wrap;
  }

  .airline-btn {
    min-width: unset;
    padding: 14px 24px;
  }

  .passenger-inputs {
    flex-direction: column;
    gap: 16px;
  }

  .quantity-control {
    width: 100%;
  }

  .quantity-btn {
    width: 44px;
    height: 48px;
    font-size: 20px;
  }

  .quantity-control input {
    padding: 14px 12px;
    font-size: 16px;
    /* Prevents zoom on iOS */
  }

  .search-btn {
    padding: 18px 32px;
    font-size: 16px;
  }
}

/* Smaller mobile screens */
@media (max-width: 480px) {
  .clean-form {
    padding: 16px;
    margin-bottom: 24px;
    /* Add space between form and results on small screens */
  }

  .section-label {
    font-size: 14px;
  }

  .input-group input {
    padding: 12px 14px;
  }

  .route-inputs .input-group input,
  .date-inputs .input-group input {
    padding: 12px 14px;
  }

  .quantity-btn {
    width: 40px;
    height: 44px;
    font-size: 18px;
  }

  .quantity-control input {
    padding: 12px 8px;
    font-size: 16px;
  }

  .option-btn,
  .airline-btn {
    padding: 12px 18px;
    font-size: 13px;
  }

  .swap-button {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
}

/* Login Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(3px);
}

.modal-content {
  background-color: white;
  border-radius: 16px;
  width: 90%;
  max-width: 480px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

.modal-header h3 {
  margin: 0;
  color: var(--text-color);
  font-size: 20px;
  font-weight: 600;
}

.modal-close {
  background: none;
  border: none;
  font-size: 28px;
  color: var(--text-light);
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: var(--text-color);
}

.modal-body {
  padding: 24px;
}

.modal-body p {
  margin: 0 0 24px;
  color: var(--text-light);
  line-height: 1.6;
  font-size: 16px;
}

.modal-actions {
  display: flex;
  gap: 12px;
  flex-direction: column;
}

.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.2s ease;
  border: 2px solid;
  font-size: 16px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-light);
  transform: translateY(-1px);
}

.hidden {
  display: none !important;
}

/* Mobile modal adjustments */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    margin: 20px;
  }

  .modal-header {
    padding: 20px 20px 16px;
  }

  .modal-header h3 {
    font-size: 18px;
  }

  .modal-body {
    padding: 20px;
  }

  .modal-actions {
    gap: 10px;
  }

  .btn {
    padding: 12px 20px;
    font-size: 15px;
  }
}

/* Progress Bar Styles */
.progress-container {
  margin-top: 20px;
  width: 100%;
  background-color: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background-color: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 10px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--success-color));
  border-radius: 4px;
  width: 0%;
  transition: width 0.3s ease;
}

.progress-text {
  text-align: center;
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
}

/* Mobile adjustments for progress bar */
@media (max-width: 768px) {
  .progress-container {
    margin-top: 15px;
  }

  .progress-text {
    font-size: 13px;
  }
}

/* Flight Table Styles */
.flights-table {
  width: 100%;
  min-width: 1000px;
  /* Force scrolling on smaller screens */
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 0;
}

.flights-table th {
  text-align: left;
  padding: 10px 15px;
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.9rem;
  border-bottom: 2px solid var(--border-color);
}

.flight-row {
  background-color: white;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.flight-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  z-index: 1;
  position: relative;
}

.flight-row td {
  padding: 15px;
  vertical-align: middle;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.flight-row td:first-child {
  border-left: 1px solid var(--border-color);
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.flight-row td:last-child {
  border-right: 1px solid var(--border-color);
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

/* Column specific styles */
.col-airline {
  width: 60px;
  text-align: center;
}

.airline-logo-mini {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.col-origin,
.col-dest {
  width: 80px;
}

.airport-code {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-color);
}

.col-time {
  width: 100px;
}

.time-group {
  display: flex;
  flex-direction: column;
}

.time-val {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-color);
}

.date-val {
  font-size: 0.8rem;
  color: var(--text-light);
}

.col-duration {
  width: 100px;
}

.duration-val {
  font-weight: 500;
  color: var(--text-light);
}

.col-stops {
  width: 100px;
}

.stops-val {
  font-size: 0.9rem;
  color: var(--text-light);
}

.col-baggage {
  width: 60px;
  text-align: center;
}

.baggage-icon {
  font-size: 1.2rem;
  cursor: help;
}

.baggage-icon.not-included {
  opacity: 0.3;
  filter: grayscale(100%);
}

.col-price-original {
  width: 100px;
  text-align: right;
}

.price-original-val {
  font-size: 0.9rem;
  text-decoration: line-through;
  color: var(--text-light);
}

.col-price-final {
  width: 110px;
  text-align: right;
}

.price-final-val {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary-color);
}

.col-price-miles {
  width: 120px;
  text-align: right;
}

.miles-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.miles-val {
  font-weight: 600;
  color: var(--secondary-color);
  font-size: 0.95rem;
}

.miles-money {
  font-size: 0.8rem;
  color: var(--text-light);
}

.col-action {
  width: 100px;
  text-align: right;
}

.select-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

.select-btn:hover {
  background-color: var(--primary-dark);
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .flights-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
}

.toast {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 300px;
  animation: slideIn 0.3s ease-out;
  border-left: 4px solid #e74c3c;
}

.toast.success {
  border-left-color: var(--success-color);
}

.toast.error {
  border-left-color: #e74c3c;
}

.toast.warning {
  border-left-color: var(--warning-color);
}

.toast.info {
  border-left-color: #3498db;
}

.toast-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.toast.success .toast-icon {
  color: var(--success-color);
}

.toast.error .toast-icon {
  color: #e74c3c;
}

.toast.warning .toast-icon {
  color: var(--warning-color);
}

.toast.info .toast-icon {
  color: #3498db;
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 4px;
  font-size: 14px;
}

.toast-message {
  color: var(--text-light);
  font-size: 13px;
  line-height: 1.4;
}

.toast-close {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 18px;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color 0.2s;
}

.toast-close:hover {
  color: var(--text-color);
}

@keyframes slideIn {
  from {
    transform: translateX(120%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(120%);
    opacity: 0;
  }
}

.toast.removing {
  animation: slideOut 0.3s ease-in forwards;
}

@media (max-width: 600px) {
  .toast-container {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
  }

  .toast {
    min-width: 0;
    width: 100%;
  }
}

/* AZUL Statement Page Styles */
.azul-account-info {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Account Selector Bar */
.account-selector-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 15px;
}

.account-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.account-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 16px;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  background-color: white;
  cursor: pointer;
  transition: all 0.2s;
  min-width: 120px;
}

.account-tab:hover {
  border-color: var(--primary-color);
  background-color: var(--accent-color);
}

.account-tab.active {
  border-color: var(--primary-color);
  background-color: var(--primary-light);
}

.account-tab-cpf {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-color);
}

.account-tab-points {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 2px;
}

.link-account-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 400px;
  margin: 0 auto;
}

.azul-logo-container {
  margin-bottom: 20px;
}

.azul-logo {
  width: 120px;
  height: auto;
  margin-bottom: 15px;
}

.azul-logo-container h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
}

.link-account-content > p {
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.6;
}

.link-account-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.link-account-form .form-group {
  text-align: left;
}

.link-account-form label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-color);
}

.link-account-form input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.link-account-form input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.error-message {
  color: #e53e3e;
  font-size: 0.9rem;
  text-align: center;
  padding: 10px;
  background-color: #fed7d7;
  border-radius: 8px;
}

.security-note {
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--text-light);
}

.azul-info-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #e6f2ff;
  border-radius: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 15px;
}

.azul-points-display {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.points-label {
  font-size: 0.85rem;
  color: var(--text-light);
}

.points-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0066cc;
}

.azul-actions {
  display: flex;
  gap: 10px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-color);
}

.btn-outline:hover {
  background-color: var(--accent-color);
  border-color: var(--primary-color);
}

.filters-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 15px;
}

.date-filters {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.date-filters .form-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.date-filters label {
  font-size: 0.85rem;
  color: var(--text-light);
  white-space: nowrap;
}

.date-filters input[type="date"] {
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 0.9rem;
}

.last-sync {
  font-size: 0.8rem;
  color: var(--text-light);
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

#pageInfo {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Responsive Design for AZUL Statement */
@media (max-width: 768px) {
  .azul-info-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .azul-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .filters-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .date-filters {
    width: 100%;
  }

  .date-filters .form-group {
    flex: 1;
  }

  .date-filters input[type="date"] {
    width: 100%;
  }

  .pagination {
    gap: 10px;
  }

  .pagination .btn {
    padding: 8px 12px;
    font-size: 0.8rem;
  }
}