/* ===== PLANNER TAB ===== */
.planner-container { padding: 20px; max-width: 1200px; margin: 0 auto; }
.planner-header { margin-bottom: 24px; }
.planner-header h2 { font-size: 1.8rem; margin-bottom: 4px; }
.planner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.planner-panel { padding: 20px !important; }
.planner-panel h3 { margin-bottom: 16px; font-size: 1.1rem; }

/* Booking Cards */
.booking-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
.booking-card {
  display: flex; flex-direction: column; align-items: center;
  padding: 16px 8px; background: #171722; border-radius: 12px;
  text-decoration: none; color: #f7f7fb; text-align: center;
  transition: all 0.2s; border: 1px solid transparent;
}
.booking-card:hover {
  background: #1e1e2e; border-color: #e63946;
  transform: translateY(-2px); box-shadow: 0 4px 16px rgba(230,57,70,0.2);
}
.booking-icon { font-size: 2rem; margin-bottom: 8px; }
.booking-card b { font-size: 0.85rem; display: block; margin-bottom: 2px; }
.booking-card small { font-size: 0.7rem; color: #a8a8b8; }

/* Checklist */
.checklist-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; margin-bottom: 6px;
  background: #171722; border-radius: 8px;
  transition: background 0.2s;
}
.checklist-item:hover { background: #1e1e2e; }
.checklist-item.done span { text-decoration: line-through; color: #666; opacity: 0.6; }
.checklist-item input[type="checkbox"] {
  width: 18px; height: 18px; accent-color: #27d17f; cursor: pointer;
}
.checklist-item span { flex: 1; font-size: 0.9rem; }
.checklist-add {
  display: flex; gap: 8px; margin-top: 12px;
  padding-top: 12px; border-top: 1px solid #2a2a38;
}
.checklist-add input {
  flex: 1; padding: 8px 12px; background: #111; border: 1px solid #2a2a38;
  border-radius: 8px; color: #f7f7fb; font-size: 0.9rem;
}
.checklist-add button {
  padding: 8px 16px; background: #e63946; border: none;
  border-radius: 8px; color: white; cursor: pointer; font-weight: bold;
}

/* ===== LOCATION SHARING ===== */
.location-share-card {
  background: #171722; border-radius: 12px; padding: 12px;
  margin: 8px 0; border-left: 3px solid #e63946;
}
.location-share-card .loc-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px;
}
.location-share-card .loc-map {
  width: 100%; height: 150px; border-radius: 8px; overflow: hidden;
  background: #0a0a0f; position: relative;
}
.location-share-card .loc-map img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.8;
}
.location-share-card .loc-actions {
  display: flex; gap: 8px; margin-top: 8px;
}
.location-share-card .loc-actions a {
  padding: 6px 12px; background: #e63946; color: white;
  border-radius: 6px; text-decoration: none; font-size: 0.8rem;
}

/* Location button in chat composer */
.loc-btn {
  background: transparent; border: 1px solid #2a2a38; color: #a8a8b8;
  padding: 6px 12px; border-radius: 6px; cursor: pointer; font-size: 0.85rem;
}
.loc-btn:hover { border-color: #e63946; color: #e63946; }
.loc-btn.active { background: #e63946; color: white; border-color: #e63946; }

/* ===== T&C PAGE ===== */
.legal-page {
  max-width: 800px; margin: 40px auto; padding: 40px;
  background: #111117; border-radius: 12px; line-height: 1.8;
}
.legal-page h1 { font-size: 2rem; margin-bottom: 8px; }
.legal-page h2 { font-size: 1.3rem; margin: 32px 0 12px; color: #e63946; }
.legal-page h3 { font-size: 1.1rem; margin: 20px 0 8px; }
.legal-page p, .legal-page li { color: #ccc; font-size: 0.9rem; }
.legal-page ul { padding-left: 24px; }
.legal-page .last-updated { color: #666; font-size: 0.8rem; margin-top: 40px; }

/* Responsive planner */
@media (max-width: 768px) {
  .planner-grid { grid-template-columns: 1fr; }
  .booking-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
}
