:root {
    --font-serif: 'Lora', serif;
    --font-sans: 'Poppins', sans-serif;

    --color-text: #222;
    --color-bg: #fff;
    --color-border: #eee;
    --color-shadow: rgba(0, 0, 0, 0.08);
    --color-primary: #11A8CD;

    /* Mood Colors - Brighter Palette */
    --mood-energetic: #FF6347; /* Tomato */
    --mood-chill: #98FB98;     /* PaleGreen */
    --mood-social: #FFD700;      /* Gold */
    --mood-creative: #BA55D3;   /* MediumOrchid */
    --mood-romantic: #FF69B4;   /* HotPink */
    --mood-adventurous: #20B2AA; /* LightSeaGreen */
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    margin: 0;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
}

#app-container {
    width: 100%;
    max-width: 600px;
    background: var(--color-bg);
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--color-shadow);
    overflow: hidden;
}

/* Form Styles */
#preferences-form {
    padding: 2.5rem 3rem;
}

h1 {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--color-primary);
}

.form-group {
    margin-bottom: 1.75rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

select, input[type="time"] {
    width: 100%;
    padding: 0.85rem;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    font-size: 1rem;
    background: #fdfdfd;
}

.interest-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.interest-options label {
    display: inline-flex;
    align-items: center;
    margin-right: 1rem;
    font-weight: 400;
    font-size: 1rem;
}

.primary-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    background-color: var(--color-primary);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(17, 168, 205, 0.3);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 168, 205, 0.4);
}

/* Itinerary View */
.hidden {
    display: none;
}

#itinerary-view {
    padding: 2.5rem 3rem;
}

.itinerary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1.5rem;
}

.mood-emoji {
    font-size: 3rem;
}

.total-duration {
    font-weight: 500;
    font-size: 1.1rem;
}

.secondary-btn {
    background: transparent;
    border: 1px solid #ccc;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    margin-left: 0.75rem;
    transition: all 0.2s ease;
}

.secondary-btn:hover {
    background: #f4f4f4;
    border-color: #aaa;
}

/* Itinerary Stop Card */
.itinerary-stop {
    background: #fff;
    border-radius: 15px;
    margin-bottom: 1.75rem;
    box-shadow: 0 5px 20px var(--color-shadow);
    border: 1px solid transparent;
    transition: border 0.3s ease;
}

.itinerary-stop:hover {
    border-color: var(--color-primary);
}

.stop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: #fcfcfc;
    border-bottom: 1px solid var(--color-border);
}

.stop-time {
    font-weight: 700;
    color: var(--color-primary);
}

.swap-btn {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-primary);
    background: none;
    border: none;
    cursor: pointer;
}

.stop-body {
    display: flex;
    padding: 1.5rem;
    gap: 1.5rem;
}

.stop-icon {
    font-size: 2rem;
    margin-top: 5px;
}

.stop-name {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin: 0 0 0.75rem;
}

.stop-description {
    margin: 0 0 1rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.stop-cost {
    font-weight: 700;
    font-size: 1.1rem;
}
