/* Travelistas Chat - Flight Card Components */

.tv-flight-intro {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 12px;
  padding: 0 4px;
}

.tv-flight-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.tv-flight-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  color: #1a1a1a;
}

.tv-flight-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
}

.tv-flight-airline-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
  background: #f5f5f5;
}

.tv-flight-airline-placeholder {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}

.tv-flight-route {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 500;
  color: #374151;
}

.tv-flight-date {
  font-size: 0.85rem;
  color: #6b7280;
}

.tv-flight-expand {
  width: 24px;
  height: 24px;
  border: none;
  background: none;
  cursor: pointer;
  color: #9ca3af;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tv-flight-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  gap: 16px;
}

.tv-flight-time {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  min-width: 70px;
  text-align: center;
}

.tv-flight-path {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
}

.tv-flight-stops {
  font-size: 0.8rem;
  color: #6b7280;
}

.tv-flight-path-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #d1d5db 0%, #9ca3af 50%, #d1d5db 100%);
  position: relative;
}

.tv-flight-path-plane {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  color: #3b82f6;
}

.tv-flight-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #fafafa;
  border-top: 1px solid #eee;
}

.tv-flight-price-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tv-flight-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
}

.tv-flight-price-label {
  font-size: 0.75rem;
  color: #6b7280;
}

.tv-flight-reserve {
  padding: 10px 20px;
  background: #111827;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s;
}

.tv-flight-reserve:hover {
  background: #1f2937;
}

.tv-flight-badge {
  display: inline-block;
  background: #10b981;
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 6px;
}

/* Dedicated chat page: composer textarea (single row by default, max 6 rows) */
.tv-composer {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.tv-composer-input,
.tv-composer textarea {
  flex: 1;
  min-height: 42px;
  max-height: 160px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.86rem;
  line-height: 1.4;
  resize: none;
  overflow-y: auto;
}
