@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');

/* Reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background: #f6f9ff;
  color: #222;
  min-height: 100vh;
}
.container {
  max-width: 480px;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
header {
  text-align: center;
  margin-bottom: 2rem;
}
.logo {
  font-size: 2.2rem;
  font-weight: 700;
  color: #4a90e2;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}
form {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(74,144,226,0.08);
  padding: 1.7rem 1.2rem;
  margin-bottom: 2rem;
  width: 100%;
  max-width: 370px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.form-group {
  margin-bottom: 1.2rem;
  width: 100%;
}
label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
  color: #4a90e2;
}
input[type="number"], select {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #d0d7de;
  border-radius: 8px;
  font-size: 1rem;
  background: #f9fafb;
  transition: border 0.2s;
}
input[type="number"]:focus, select:focus {
  border-color: #4a90e2;
  outline: none;
}
#destInput {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #d0d7de;
  border-radius: 8px;
  font-size: 1rem;
  background: #f9fafb;
  transition: border 0.2s;
  margin-bottom: 0;
}
#destInput:focus {
  border-color: #4a90e2;
  outline: none;
}
.submit-btn {
  width: 100%;
  padding: 0.9rem;
  background: linear-gradient(90deg, #6ec6ff 0%, #4a90e2 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 0.5rem;
  box-shadow: 0 2px 8px rgba(74,144,226,0.10);
}
.submit-btn:hover {
  background: linear-gradient(90deg, #4a90e2 0%, #357ab8 100%);
}
.results {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  width: 100%;
  align-items: center;
}
.deal-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(74,144,226,0.10);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 370px;
  transition: transform 0.2s, box-shadow 0.2s;
  padding: 12px;
}
.deal-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 8px 24px rgba(74,144,226,0.13);
}
.deal-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #e3eaf2;
  display: block;
  border-radius: 10px;
}
.deal-content {
  padding: 1.1rem 1rem 1.2rem 1rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.deal-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: #357ab8;
}
.deal-desc {
  font-size: 1rem;
  margin-bottom: 0.7rem;
  color: #444;
}
.deal-price {
  font-size: 1.05rem;
  font-weight: 500;
  color: #4a90e2;
  margin-bottom: 0.7rem;
}
.book-btn {
  display: inline-block;
  padding: 0.7rem 1.3rem;
  background: linear-gradient(90deg, #6ec6ff 0%, #4a90e2 100%);
  color: #fff;
  border: none;
  border-radius: 7px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(74,144,226,0.10);
}
.book-btn:hover {
  background: linear-gradient(90deg, #4a90e2 0%, #357ab8 100%);
}
.ai-message {
  width: 100%;
  max-width: 420px;
  margin: 0 auto 1.1rem auto;
  background: #eaf4ff;
  color: #357ab8;
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  font-size: 1.07rem;
  font-weight: 500;
  text-align: center;
  box-shadow: 0 2px 8px rgba(74,144,226,0.07);
}
@media (min-width: 600px) {
  .container {
    max-width: 600px;
  }
  .deal-image {
    height: 200px;
  }
  .deal-card {
    max-width: 420px;
  }
  form {
    max-width: 420px;
  }
}
.save-btn {
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 1.3rem;
  margin-left: 0.5rem;
  vertical-align: middle;
  color: #bbb;
  transition: color 0.2s;
  padding: 0;
}
.save-btn.saved {
  color: #e74c3c;
}
.deal-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
#saved-trips-section {
  width: 100%;
  max-width: 420px;
  margin: 0 auto 2rem auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(74,144,226,0.07);
  padding: 1.2rem 1rem 1.5rem 1rem;
}
.saved-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #357ab8;
  margin-bottom: 1rem;
  text-align: center;
}
#saved-trips.results {
  gap: 1.2rem;
} 