/* ===== PLAN YOUR TRIP - STYLES ===== */
.pyt-hero {
    position: relative;
    min-height: 750px;
    background: url('https://www.vibrantjersey.je/wp-content/uploads/2019/12/Gorey-Castle-07-1621x1080.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: #fff;
}
.pyt-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,30,80,0.75) 0%, rgba(0,60,120,0) 55%);
}
.pyt-hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 40px;
    max-width: 600px;
}
.pyt-hero-content h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 16px;
    color: #fff;
}
.pyt-hero-content p {
    font-size: 16px;
    margin: 0 0 28px;
    opacity: 0.92;
    color: #fff;
}
.pyt-hero-btn {
    background: #e85d04;
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.pyt-hero-btn:hover { background: #c94e00; }
.pyt-hero-features {
    display: flex;
    gap: 32px;
    margin-top: 36px;
    flex-wrap: wrap;
}
.pyt-hero-features > div {
    text-align: center;
    font-size: 12px;
    opacity: 0.9;
    line-height: 1.4;
}
.pyt-hero-features span { font-size: 22px; display: block; margin-bottom: 4px; }

/* WIZARD */
.pyt-wizard-wrap {
    background: #f5f7fa;
    padding: 50px 20px;
}
.pyt-wizard-inner {
    max-width: 520px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    padding: 36px 40px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}
.pyt-steps-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
}
.pyt-step-dot {
    flex: 1;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    transition: background 0.3s;
}
.pyt-step-dot.active, .pyt-step-dot.done { background: #1a3c6e; }
.pyt-step-label {
    font-size: 11px;
    font-weight: 700;
    color: #888;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.pyt-step h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 24px;
}
.pyt-options-grid {
    display: grid;
    gap: 14px;
    margin-bottom: 28px;
}
.pyt-grid-2x2 { grid-template-columns: 1fr 1fr; }
.pyt-option {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 18px 14px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    background: #fff;
}
.pyt-option:hover { border-color: #1a3c6e; background: #f0f4ff; }
.pyt-option.selected { border-color: #1a3c6e; background: #eef2ff; color: #1a3c6e; }
.pyt-option-icon { font-size: 28px; margin-bottom: 8px; }
.pyt-options-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.pyt-option-wide {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    text-align: left;
    border-radius: 10px;
}
.pyt-option-wide .pyt-option-icon { font-size: 22px; margin: 0; }
.pyt-continue-btn {
    width: 100%;
    background: #1a3c6e;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.pyt-continue-btn:hover { background: #0f2a52; }
.pyt-generate-btn { background: #1a3c6e; }

/* CALENDAR */
.pyt-calendar {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 8px;
}
.pyt-cal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 15px;
}
.pyt-cal-header button {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #1a3c6e;
    padding: 4px 8px;
}
.pyt-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    text-align: center;
}
.pyt-cal-day-name {
    font-size: 11px;
    font-weight: 700;
    color: #888;
    padding: 4px 0;
}
.pyt-cal-day {
    font-size: 13px;
    padding: 6px 4px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s;
}
.pyt-cal-day:hover { background: #e8eeff; }
.pyt-cal-day.today { background: #1a3c6e; color: #fff; font-weight: 700; }
.pyt-cal-day.selected { background: #e85d04; color: #fff; font-weight: 700; }
.pyt-cal-day.empty { cursor: default; }
.pyt-cal-day.past { color: #ccc; cursor: default; }

/* LOADING */
.pyt-loading {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.97);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pyt-loading-inner { text-align: center; max-width: 480px; padding: 40px; }
.pyt-loading-spinner {
    font-size: 48px;
    animation: pytSpin 1.5s linear infinite;
    display: block;
    margin-bottom: 20px;
}
@keyframes pytSpin { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
.pyt-loading-inner h3 { font-size: 22px; color: #1a3c6e; margin-bottom: 28px; }
.pyt-loading-steps { display: flex; flex-direction: column; gap: 12px; }
.pyt-load-step {
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    color: #999;
    background: #f5f5f5;
    transition: all 0.7s;
}
.pyt-load-step.active { background: #eef2ff; color: #1a3c6e; font-weight: 600; }
.pyt-load-step.done { background: #e8f5e9; color: #2e7d32; }

/* RESULTS */
.pyt-results { background: #f5f7fa; min-height: 60vh; }
.pyt-results-header {
    background: linear-gradient(135deg, #1a3c6e 0%, #0f2a52 100%);
    color: #fff;
    padding: 28px 40px;
}
.pyt-results-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}
.pyt-back-link { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 14px; }
.pyt-back-link:hover { color: #fff; }
.pyt-results-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pyt-action-btn {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s;
}
.pyt-action-btn:hover { background: rgba(255,255,255,0.25); }
.pyt-regen-btn {
    background: #e85d04;
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}
.pyt-trip-summary h2 { font-size: 28px; font-weight: 800; margin: 0 0 8px; color: #fff; }
.pyt-trip-meta { font-size: 14px; opacity: 0.85; margin-bottom: 10px; }
.pyt-trip-desc { font-size: 15px; opacity: 0.9; margin: 0; max-width: 600px; }

/* TABS */
.pyt-results-tabs {
    background: #fff;
    border-bottom: 2px solid #e0e0e0;
    padding: 0 40px;
    display: flex;
    gap: 0;
}
.pyt-tab {
    background: none;
    border: none;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
}
.pyt-tab:hover {
    color: #1a3c6e;
    border-bottom-color: #1a3c6e;
}
.pyt-tab.active { color: #1a3c6e; border-bottom-color: #1a3c6e; }
.pyt-tab-content { padding: 32px 40px; }

/* ITINERARY */
.pyt-itinerary-layout { display: flex; gap: 24px; }
.pyt-day-sidebar {
    width: 200px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.pyt-day-btn {
    padding: 14px 16px;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid #e0e0e0;
    background: #fff;
    text-align: left;
    transition: all 0.2s;
}
.pyt-day-btn.active { border-color: #1a3c6e; background: #eef2ff; }
.pyt-day-btn strong { display: block; font-size: 13px; color: #1a3c6e; }
.pyt-day-btn span { font-size: 12px; color: #666; }
.pyt-day-detail { flex: 1; }
.pyt-day-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 8px;
}
.pyt-day-header h3 { font-size: 20px; font-weight: 700; color: #1a1a2e; margin: 0; }
.pyt-weather { font-size: 13px; color: #666; background: #f5f5f5; padding: 6px 12px; border-radius: 20px; }
.pyt-timeline { display: flex; flex-direction: column; gap: 0; }
.pyt-timeline-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: flex-start;
}
.pyt-timeline-time { font-size: 12px; color: #888; width: 60px; flex-shrink: 0; padding-top: 2px; }
.pyt-timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #1a3c6e;
    flex-shrink: 0;
    margin-top: 4px;
}
.pyt-timeline-content { flex: 1; }
.pyt-timeline-content h4 { font-size: 15px; font-weight: 700; margin: 0 0 4px; color: #1a1a2e; }
.pyt-timeline-content p { font-size: 13px; color: #666; margin: 0; }
.pyt-timeline-img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

/* RECOMMENDATIONS */
.pyt-rec-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.pyt-rec-tab {
    background: #f0f0f0;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    color: #555;
}
.pyt-rec-tab.active { background: #1a3c6e; color: #fff; }
.pyt-rec-section h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.pyt-view-all { font-size: 13px; color: #1a3c6e; text-decoration: none; font-weight: 600; }
.pyt-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}
.pyt-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}
.pyt-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }
.pyt-card-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    background: #e0e0e0;
    display: block;
}
.pyt-card-img-placeholder {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, #1a3c6e, #2d6a9f);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}
.pyt-card-body { padding: 14px; }
.pyt-card-body h4 { font-size: 14px; font-weight: 700; margin: 0 0 4px; color: #1a1a2e; }
.pyt-card-body p { font-size: 12px; color: #888; margin: 0 0 10px; }
.pyt-card-meta { font-size: 12px; color: #666; margin-bottom: 10px; }
.pyt-card-btn {
    display: block;
    text-align: center;
    background: #1a3c6e;
    color: #fff;
    padding: 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}
.pyt-card-btn:hover { background: #0f2a52; color: #fff; }
.pyt-featured-badge {
    background: #e85d04;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 6px;
}

/* TRANSPORT */
.pyt-transport-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.pyt-transport-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}
.pyt-transport-card span { font-size: 28px; display: block; margin-bottom: 8px; }
.pyt-transport-card strong { font-size: 15px; display: block; margin-bottom: 6px; color: #1a1a2e; }
.pyt-transport-card p { font-size: 13px; color: #666; margin: 0; }

/* TRIP DETAILS */
.pyt-trip-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.pyt-detail-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}
.pyt-detail-card h4 { font-size: 14px; font-weight: 700; color: #888; margin: 0 0 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.pyt-detail-card p { font-size: 16px; font-weight: 600; color: #1a1a2e; margin: 0; }

/* CHAT WIDGET */
.pyt-chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}
.pyt-chat-bubble {
    background: #fff;
    border-radius: 50px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: box-shadow 0.2s;
    border: 1px solid #e0e0e0;
}
.pyt-chat-bubble:hover { box-shadow: 0 6px 28px rgba(0,0,0,0.2); }
.pyt-chat-bubble > span:first-child { font-size: 28px; }
.pyt-chat-label { font-size: 13px; line-height: 1.3; color: #333; }
.pyt-chat-arrow { font-size: 18px; color: #1a3c6e; font-weight: 700; }
.pyt-chat-box {
    position: fixed;
    bottom: 0px;
    right: 10px;
    width: 500px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    overflow: hidden;
    z-index: 99999;
    border: 1px solid #e0e0e0;
}
.pyt-chat-header {
    background: #1a3c6e;
    color: #fff;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
}
.pyt-chat-header button { background: none; border: none; color: #fff; font-size: 16px; cursor: pointer; }
.pyt-chat-messages {
    height: 400px;
    overflow-y: auto;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.pyt-chat-msg {
    max-width: 90%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.4;
}
.pyt-chat-msg.bot { background: #f0f4ff; color: #1a1a2e; align-self: flex-start; }
.pyt-chat-msg.user { background: #1a3c6e; color: #fff; align-self: flex-end; }
.pyt-chat-input-row {
    display: flex;
    border-top: 1px solid #e0e0e0;
    padding: 10px;
    gap: 8px;
}
.pyt-chat-input-row input {
    flex: 1;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 8px 14px;
    font-size: 13px;
    outline: none;
}
.pyt-chat-input-row button {
    background: #1a3c6e;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 16px;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

/* UTILITIES */
.hidden { display: none !important; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .pyt-hero-content { padding: 40px 20px; }
    .pyt-hero-content h1 { font-size: 28px; }
    .pyt-wizard-inner { padding: 24px 20px; }
    .pyt-itinerary-layout { flex-direction: column; }
    .pyt-day-sidebar { width: 100%; flex-direction: row; overflow-x: auto; }
    .pyt-cards-row { grid-template-columns: 1fr; }
    .pyt-results-header { padding: 20px; }
    .pyt-tab-content { padding: 20px; }
    .pyt-results-tabs { padding: 0 20px; }
    .pyt-trip-details-grid { grid-template-columns: 1fr; }
    .pyt-transport-info { grid-template-columns: 1fr; }
    .pyt-chat-widget { bottom: 16px; right: 16px; }
    .pyt-chat-box { width: 280px; }
}

.pyt-chat-section{
    margin-top:20px;
}

.pyt-chat-section h4{
    margin-bottom:12px;
    font-size:16px;
}

.pyt-chat-cards{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 12px;
}

.pyt-chat-card{
    border:1px solid #eee;
    border-radius:14px;
    overflow:hidden;
    background:#fff;
}

.pyt-chat-card img{
    width:100%;
    height:140px;
    object-fit:cover;
}

.pyt-chat-card-content{
    padding:14px;
}

.pyt-chat-card-content h5{
    margin:0 0 8px;
    font-size:15px;
}

.pyt-chat-card-content p{
    font-size:13px;
    line-height:1.5;
    margin-bottom:10px;
}

.pyt-chat-card-content a{
    display:inline-block;
    padding:8px 12px;
    background:#111;
    color:#fff;
    text-decoration:none;
    border-radius:8px;
    font-size:13px;
}

.pyt-chat-intro{
    margin-bottom:15px;
    line-height:1.6;
}

.pyt-chat-actions{
    display:flex;
    gap:8px;
    align-items:center;
}

.pyt-chat-download{
    background:#111;
    color:#fff;
    border:none;
    border-radius:8px;
    padding:7px 12px;
    cursor:pointer;
    font-size:12px;
}

.pyt-chat-download:hover{
    opacity:0.9;
}