/* WeGlide Flights */
.weglide-flights-section { padding: 4rem 0; }

.weglide-flights__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.weglide-flights__loading { text-align: center; padding: 3rem; color: #6c757d; }
.weglide-flights__loading .spinner {
  width: 40px; height: 40px;
  border: 3px solid #e9ecef; border-top-color: var(--color-primary, #0d6efd);
  border-radius: 50%; animation: wg-spin 0.8s linear infinite; margin: 0 auto 1rem;
}
@keyframes wg-spin { to { transform: rotate(360deg); } }

.weglide-flights__error { text-align: center; padding: 2rem; color: #dc3545; }
.weglide-flights__footer { text-align: center; margin-top: 1rem; }
.weglide-flights__empty { text-align: center; padding: 2rem; color: #6c757d; grid-column: 1/-1; }

.weglide-card {
  display: block; background: #fff; border-radius: 2px; overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.08); transition: transform .2s, box-shadow .2s;
  text-decoration: none; color: inherit;
}
.weglide-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.12); color: inherit; text-decoration: none; }

.weglide-card__map { width: 100%; height: 160px; overflow: hidden; background: #e9ecef; }
.weglide-card__map img { width: 100%; height: 100%; object-fit: cover; }

.weglide-card__body { padding: 1.25rem; }

.weglide-card__pilot { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.weglide-card__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid #e9ecef; }
.weglide-card__avatar-placeholder { width: 44px; height: 44px; border-radius: 50%; background: #e9ecef; display: flex; align-items: center; justify-content: center; color: #adb5bd; }
.weglide-card__pilot-info { display: flex; flex-direction: column; }
.weglide-card__name { font-weight: 600; font-size: .95rem; }
.weglide-card__date { font-size: .8rem; color: #6c757d; }

.weglide-card__details { display: flex; flex-wrap: wrap; gap: .5rem 1rem; font-size: .85rem; color: #495057; }
.weglide-card__details i { color: var(--color-primary, #0d6efd); margin-right: .25rem; }

.weglide-card__points { margin-top: 1rem; padding-top: .75rem; border-top: 1px solid #e9ecef; font-size: 1.4rem; font-weight: 700; color: var(--color-primary, #0d6efd); }
.weglide-card__points span { font-size: .75rem; font-weight: 400; color: #6c757d; }

@media (max-width: 767px) { .weglide-flights__grid { grid-template-columns: 1fr; } }
