body {
    font-family: 'Inter', sans-serif;
    background-color: #f4f7f6;
    margin: 0;
    padding: 0;
    color: #333;
}
.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}
header {
    text-align: center;
    margin-bottom: 40px;
}
h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #007bff;
    margin: 0;
}
#chat-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 20px;
    margin-bottom: 30px;
}
#messages {
    height: 200px;
    overflow-y: auto;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
    padding: 10px;
}
.input-area {
    display: flex;
    gap: 10px;
}
input[type="text"] {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}
button {
    padding: 12px 24px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}
button:hover { background-color: #0056b3; }
.card {
    background: white;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    overflow: hidden;
}
.card-main {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.price { color: #28a745; font-size: 1.2rem; font-weight: 800; margin-bottom: 5px; }
.card-details {
    padding: 20px;
    background: #f9f9f9;
    border-top: 1px solid #eee;
}
.slice-detail {
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border: 1px solid #eee;
}
.slice-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 8px;
}
.total-duration { font-size: 0.85rem; color: #666; }
.segment-box {
    margin-bottom: 10px;
    padding: 10px;
    background: #fcfcfc;
    border-radius: 6px;
}
.segment-main {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}
.segment-times {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: center;
}
.time-block .time { font-size: 1.1rem; font-weight: 700; }
.time-block .date { font-size: 0.75rem; color: #888; }
.time-block .airport { font-size: 0.85rem; font-weight: 600; color: #007bff; }
.arrow { font-size: 1.2rem; color: #ccc; }
.layover {
    font-size: 0.8rem;
    color: #d9534f;
    background: #fff1f0;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin: 10px 0;
    font-weight: 600;
}
.details-btn { background: #6c757d; font-size: 0.8rem; padding: 8px 16px; }
.book-btn { width: 100%; margin-top: 10px; }
#examples { margin-top: 20px; font-size: 0.9rem; }
.example-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { padding: 6px 12px; background-color: #e9ecef; color: #495057; border: 1px solid #dee2e6; border-radius: 20px; cursor: pointer; font-size: 0.85rem; }
.chip:hover { background-color: #dee2e6; }

#loading {
    text-align: center;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}
.google-link {
    font-size: 0.7rem;
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid #007bff;
    padding: 4px 10px;
    border-radius: 20px;
    transition: all 0.2s;
    white-space: nowrap;
}
.google-link:hover {
    background: #007bff;
    color: white;
}
