/* Tour Planner — quiz + results styling (self-contained, not touching custom.css) */

.tp-shell {
    max-width: 720px;
    margin: 0 auto;
}

.tp-progress {
    height: 8px;
    border-radius: 20px;
    background: #eef0f3;
    overflow: hidden;
    margin-bottom: 28px;
}
.tp-progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #1063B1, #F59E4E);
    transition: width 0.35s ease;
}

.tp-section-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #F59E4E;
    margin-bottom: 6px;
}

.tp-prompt {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 24px;
}

.tp-hint {
    font-size: 13px;
    color: #6b7280;
    margin-top: -14px;
    margin-bottom: 20px;
}

/* Option grid (single/multi/image-choice questions) */
.tp-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
}
.tp-options-grid.tp-options-list {
    grid-template-columns: 1fr;
}

.tp-option-card {
    border: 2px solid #e8ecf0;
    border-radius: 14px;
    background: #fff;
    padding: 18px 14px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #1a1a2e;
}
.tp-option-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}
.tp-option-card.selected {
    border-color: #1063B1;
    box-shadow: 0 0 0 3px rgba(16,99,177,0.15);
}

.tp-option-card.tp-tile {
    color: #fff;
    border: none;
    padding: 0;
    aspect-ratio: 1 / 1;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.tp-option-card.tp-tile i { font-size: 1.8rem; }
.tp-option-card.tp-tile span { font-size: 13px; }
.tp-option-card.tp-tile.selected {
    box-shadow: 0 0 0 4px rgba(255,255,255,0.85), 0 6px 16px rgba(0,0,0,0.2);
}

.tp-option-card.tp-list-item {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    padding: 14px 18px;
}

/* Chip grid — for questions with many short-word options (activities etc.) */
.tp-chip-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.tp-chip {
    border: 2px solid #e8ecf0;
    border-radius: 30px;
    background: #fff;
    padding: 9px 18px;
    font-weight: 600;
    font-size: 14px;
    color: #1a1a2e;
    cursor: pointer;
    transition: all 0.15s ease;
}
.tp-chip:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(0,0,0,0.08); }
.tp-chip.selected {
    border-color: #1063B1;
    background: linear-gradient(135deg, #1063B1, #F59E4E);
    color: #fff;
}

.tp-select-count {
    font-size: 13px;
    color: #6b7280;
    margin-top: 12px;
}

/* Emoji option row */
.tp-emoji-option {
    font-size: 2rem;
    line-height: 1;
}

/* Slider question */
.tp-slider-wrap { padding: 10px 4px 0; }
.tp-slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-top: 10px;
}
.tp-slider-wrap input[type="range"] {
    width: 100%;
    accent-color: #1063B1;
}

/* Nav buttons */
.tp-nav-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 28px;
}

/* Result view */
.tp-result-type {
    font-weight: 800;
    background: linear-gradient(135deg, #1063B1, #F59E4E);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 16px;
}
.tp-result-paragraph {
    font-size: 15px;
    line-height: 1.7;
    color: #333;
}
.tp-traits {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tp-trait-badge {
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
    color: #fff;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
}
.tp-suggestion-card {
    border: 1px solid #e8ecf0;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    background: #fbfbfe;
}
.tp-suggestion-img-wrap {
    position: relative;
}
.tp-suggestion-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}
.tp-suggestion-img-credit {
    position: absolute;
    bottom: 6px;
    right: 8px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
}
.tp-suggestion-body {
    padding: 16px;
}
.tp-suggestion-card h6 {
    font-weight: 700;
    color: #1063B1;
    margin-bottom: 8px;
}

.tp-share-box {
    background: #f8f9fa;
    border: 1px dashed #ced4da;
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.tp-share-box input {
    flex: 1;
    min-width: 200px;
    border: none;
    background: transparent;
    font-size: 13px;
    color: #495057;
}
.tp-share-box input:focus { outline: none; }

.tp-past-results-card {
    border: 1px solid #e8ecf0;
    border-radius: 12px;
    padding: 14px 18px;
    background: #fff;
    margin-bottom: 24px;
}

.tp-email-capture-card {
    background: linear-gradient(135deg, #f5f3ff, #eef2ff);
    border: 1px solid #ddd6fe;
    border-radius: 12px;
    padding: 16px 18px;
}
.tp-email-capture-card h6 {
    font-weight: 700;
    color: #5b21b6;
    margin-bottom: 4px;
}
