/* ============================================
   CARTES
   ============================================ */

/* Result cards */
.results-grid {
  display: grid;
  gap: 20px;
}

.result-card {
  background: white;
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
  animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.result-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--primary);
}

.result-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 16px;
}

.airline {
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
}
.airline small {
  color: var(--text-muted);
  font-weight: 500;
}

.badge {
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  font-weight: 600;
  font-size: 13px;
  color: var(--primary);
  white-space: nowrap;
}

.price {
  font-weight: 900;
  font-size: 24px;
  color: var(--accent);
  text-align: right;
  line-height: 1.2;
}
.price small {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
}

.reservation-button {
  background: var(--primary);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.reservation-button:hover {
  background: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.load-more-wrap {
  text-align: center;
  margin-top: 32px;
}

.load-more-button {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 14px 32px;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  transition: all var(--transition);
}

.load-more-button:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Loader */
.loader {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  border-top: 4px solid var(--primary);
  border-right: 4px solid transparent;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
  position: relative;
}

.loader::after {
  content: '';  
  box-sizing: border-box;
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border-bottom: 4px solid var(--accent);
  border-left: 4px solid transparent;
}

@keyframes rotation {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loader-text {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 14px;
}