/* ==========================================
   Travel AI Platform
   Itinerary
   Part 1 of 3
========================================== */

.tap-itinerary{

    margin-top:80px;

    animation:tapFade .5s ease;

}

.tap-trip-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:30px;

    margin-bottom:40px;

}

.tap-trip-left h1{

    font-family:var(--tap-font-heading);

    font-size:42px;

    font-weight:800;

    color:#14203a;

    margin:0 0 12px;

}

.tap-trip-left p{

    color:#6b6456;

    font-size:16px;

    margin:0;

}

.tap-trip-right{

    display:flex;

    gap:15px;

    flex-wrap:wrap;

}

/* ===========================
   Summary
=========================== */

.tap-summary{

    background:#fff;

    border-radius:22px;

    padding:35px;

    box-shadow:0 15px 45px rgba(14,42,82,.08);

    border-top:3px solid #c9a227;

    margin-bottom:35px;

}

.tap-summary-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:20px;

}

.tap-summary-card{

    background:#fdf9ef;

    border:1px solid #f3ede0;

    border-radius:18px;

    padding:22px;

    transition:.3s;

}

.tap-summary-card:hover{

    transform:translateY(-4px);

    box-shadow:0 15px 30px rgba(0,0,0,.08);

}

.tap-summary-title{

    font-size:13px;

    color:#6b6456;

    margin-bottom:10px;

    text-transform:uppercase;

}

.tap-summary-value{

    font-size:24px;

    font-weight:700;

    color:#14203a;

}

/* ===========================
   Section
=========================== */

.tap-section{

    background:#fff;

    border-radius:22px;

    padding:35px;

    margin-bottom:30px;

    box-shadow:0 15px 45px rgba(14,42,82,.08);

    border:1px solid #f3ede0;

}

.tap-section-title{

    font-family:var(--tap-font-heading);

    font-size:28px;

    font-weight:700;

    margin-bottom:14px;

    color:#14203a;

    padding-bottom:16px;

    border-bottom:2px solid #f3ede0;
    
}

    
    /* ==========================================
   Itinerary
   Part 2 of 3
========================================== */

/* ===========================
   Timeline
=========================== */

.tap-days{

    position:relative;

}

.tap-day{

    position:relative;

    padding-left:70px;

    margin-bottom:45px;

}

.tap-day:last-child{

    margin-bottom:0;

}

.tap-day::before{

    content:"";

    position:absolute;

    left:22px;

    top:5px;

    width:18px;

    height:18px;

    border-radius:50%;

    background:#0e2a52;

    border:5px solid #f2e6bd;

    z-index:2;

}

.tap-day::after{

    content:"";

    position:absolute;

    left:30px;

    top:24px;

    width:2px;

    height:calc(100% + 25px);

    background:#f2e6bd;

}

.tap-day:last-child::after{

    display:none;

}

.tap-day-title{

    font-family:var(--tap-font-heading);

    font-size:26px;

    font-weight:700;

    color:#14203a;

    margin-bottom:25px;

}

/* ===========================
   Day Schedule
=========================== */

.tap-schedule{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:22px;

}

.tap-schedule-card{

    background:#fdf9ef;

    border:1px solid #f3ede0;

    border-radius:18px;

    padding:22px;

    transition:.30s;

}

.tap-schedule-card:hover{

    transform:translateY(-5px);

    box-shadow:0 15px 35px rgba(0,0,0,.08);

}

.tap-schedule-title{

    font-size:18px;

    font-weight:700;

    color:#14203a;

    margin-bottom:14px;

}

.tap-schedule-text{

    color:#6b6456;

    line-height:1.8;

}

/* ===========================
   Activity List
=========================== */

.tap-activities{

    margin-top:25px;

    display:flex;

    flex-wrap:wrap;

    gap:12px;

}

.tap-activity{

    background:#f7f2e3;

    color:#0e2a52;

    border-radius:999px;

    padding:10px 16px;

    font-size:13px;

    font-weight:600;

}

/* ===========================
   Cost Box
=========================== */

.tap-cost{

    margin-top:25px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    background:#eaf6f0;

    border:1px solid #bfe3d3;

    padding:18px 22px;

    border-radius:16px;

}

.tap-cost-label{

    font-weight:600;

    color:#145c48;

}

.tap-cost-value{

    font-size:22px;

    font-weight:700;

    color:#15803d;

}
/* ==========================================
   Itinerary
   Part 3 of 3
========================================== */

/* ===========================
   Hotel Cards
=========================== */

.tap-hotels,
.tap-flights,
.tap-weather,
.tap-restaurants,
.tap-shopping,
.tap-attractions,
.tap-map{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:25px;

    margin-bottom:35px;

}

.tap-info-card{

    background:#ffffff;

    border:1px solid #e8e1cf;

    border-radius:22px;

    overflow:hidden;

    box-shadow:0 12px 35px rgba(15,23,42,.08);

    transition:.30s;

}

.tap-info-card:hover{

    transform:translateY(-6px);

    box-shadow:0 22px 50px rgba(15,23,42,.14);

}

.tap-card-image{

    width:100%;

    height:200px;

    background:#f7f2e3;

}

.tap-card-body{

    padding:24px;

}

.tap-card-heading{

    font-size:22px;

    font-weight:700;

    color:#14203a;

    margin-bottom:12px;

}

.tap-card-meta{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

    margin-bottom:18px;

}

.tap-chip{

    background:#f7f2e3;

    color:#0e2a52;

    padding:8px 14px;

    border-radius:999px;

    font-size:12px;

    font-weight:600;

}

.tap-card-description{

    color:#6b6456;

    line-height:1.8;

    margin-bottom:20px;

}

.tap-card-footer{

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.tap-price{

    font-family:var(--tap-font-heading);

    font-size:24px;

    font-weight:800;

    color:#1f7a5c;

}

/* ===========================
   Budget
   FIX: budget_breakdown is a list of rows now
   (was a single total box before)
=========================== */

.tap-budget{

    background:#fff;

    border-radius:22px;

    padding:0;

    margin-bottom:35px;

}

.tap-budget-summary{

    background:linear-gradient(135deg,#0e2a52,#c9a227);

    color:#fff;

    border-radius:22px;

    padding:30px;

}

.tap-budget-row{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:12px 0;

    border-bottom:1px solid rgba(255,255,255,.2);

    font-size:15px;

}

.tap-budget-row:last-of-type{

    border-bottom:none;

}

.tap-budget-total{

    font-family:var(--tap-font-heading);

    font-size:32px;

    font-weight:800;

    margin-top:18px;

    padding-top:18px;

    border-top:2px solid rgba(255,255,255,.35);

}

/* ===========================
   Weather
=========================== */

.tap-weather-box{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:20px;

}

.tap-weather-temp{

    font-family:var(--tap-font-heading);

    font-size:52px;

    font-weight:800;

    color:#0e2a52;

}

.tap-weather-details{

    color:#6b6456;

    line-height:1.8;

}

/* ===========================
   Restaurant
=========================== */

.tap-restaurant{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 0;

    border-bottom:1px solid #f6f1e6;

}

.tap-restaurant:last-child{

    border-bottom:none;

}

/* ===========================
   Map
=========================== */

.tap-map-placeholder{

    height:420px;

    background:#f6f1e6;

    border-radius:22px;

    display:flex;

    align-items:center;

    justify-content:center;

    color:#6b6456;

    font-size:18px;

    font-weight:600;

}

/* ===========================
   NEW: Simple list sections
   (Packing List, Local Tips, Transportation,
    Shopping text items, Visa Info, Safety Tips)
=========================== */

.tap-packing-list,
.tap-local-tips,
.tap-transportation,
.tap-visa,
.tap-safety,
.tap-emergency{

    background:#fff;

    border-radius:22px;

    margin-bottom:35px;

}

.tap-simple-list{

    list-style:none;

    margin:0;

    padding:0;

}

.tap-simple-list li{

    position:relative;

    padding:14px 0 14px 30px;

    border-bottom:1px solid #f6f1e6;

    color:#2c3350;

    line-height:1.6;

}

.tap-simple-list li:last-child{

    border-bottom:none;

}

.tap-simple-list li::before{

    content:"✓";

    position:absolute;

    left:0;

    top:14px;

    color:#0e2a52;

    font-weight:700;

}

/* ===========================
   NEW: Notes section
=========================== */

.tap-notes .tap-card{

    background:#fbf3df;

    border:1px solid #e6c976;

    border-radius:18px;

    padding:24px;

    color:#78350f;

    line-height:1.8;

}

/* ===========================
   Generic empty-state card
   (used by every section's "No X available" fallback)
=========================== */

.tap-card{

    background:#fdf9ef;

    border:1px solid #f3ede0;

    border-radius:18px;

    padding:24px;

    color:#6b6456;

}

/* ===========================
   Responsive
=========================== */

@media(max-width:991px){

    .tap-summary-grid{

        grid-template-columns:repeat(2,1fr);

    }

    .tap-schedule{

        grid-template-columns:1fr;

    }

}

@media(max-width:767px){

    .tap-trip-header{

        flex-direction:column;

        align-items:flex-start;

    }

    .tap-summary-grid{

        grid-template-columns:1fr;

    }

    .tap-hotels,
    .tap-flights,
    .tap-weather,
    .tap-restaurants,
    .tap-shopping,
    .tap-attractions,
    .tap-map{

        grid-template-columns:1fr;

    }

    .tap-trip-left h1{

        font-size:30px;

    }

    .tap-budget-total{

        font-size:26px;

    }

    .tap-weather-temp{

        font-size:38px;

    }

}

/* ===========================
   NEW: Real provider data elements
   (Google Places map links, TravelPayouts booking links)
=========================== */

.tap-map-link{

    display:inline-block;

    margin-top:12px;

    color:#0e2a52;

    font-size:13px;

    font-weight:600;

    text-decoration:none;

}

.tap-map-link:hover{

    text-decoration:underline;

}

.tap-provider-badge{

    display:inline-block;

    margin-left:8px;

    padding:2px 8px;

    border-radius:999px;

    background:#f7f2e3;

    color:#0e2a52;

    font-size:11px;

    font-weight:600;

    vertical-align:middle;

}

.tap-flight-price{

    margin-top:10px;

    font-size:20px;

    font-weight:800;

    color:#1f7a5c;

}

.tap-book-link{

    display:inline-block;

    margin-top:12px;

    padding:10px 18px;

    border-radius:10px;

    background:#0e2a52;

    color:#fff !important;

    font-size:13px;

    font-weight:700;

    text-decoration:none;

    transition:.25s;

}

.tap-book-link:hover{

    background:linear-gradient(135deg,#e8c766,#c9a227);

    color:#14203a !important;

}

/* ==========================================
   End of File
========================================== */
/* ===========================
   Section head (icon + title row)
   FIX: .tap-section-head existed in the template with
   zero matching CSS anywhere — headers were rendering
   as plain unstyled text with no gold accent at all.
=========================== */

.tap-section-head{

    display:flex;

    align-items:center;

    gap:14px;

    margin-bottom:22px;

    padding-bottom:16px;

    border-bottom:2px solid #f3ede0;

}

.tap-section-head h2{

    font-family:'Playfair Display', Georgia, serif;

    font-size:26px;

    font-weight:700;

    color:#14203a;

    margin:0;

    display:flex;

    align-items:center;

    gap:12px;

}

.tap-section-head h2::before{

    content:"";

    display:inline-block;

    width:6px;

    height:26px;

    border-radius:3px;

    background:linear-gradient(180deg,#e8c766,#c9a227);

}

/* ===========================
   Action buttons row
   FIX: .tap-actions had no CSS at all — print/download/
   share/favorite buttons were stacking with the browser's
   default spacing.
=========================== */

.tap-actions{

    display:flex;

    flex-wrap:wrap;

    justify-content:center;

    gap:16px;

    padding-top:10px;

}

.tap-actions .tap-btn{

    min-width:200px;

}

.tap-actions .tap-download{

    background:linear-gradient(135deg,#e8c766,#c9a227);

    color:#14203a;

}

.tap-actions .tap-add-favorite{

    background:#fff;

    color:#9c2f22;

    box-shadow:none;

}

.tap-actions .tap-add-favorite::before{

    border-color:#9c2f22;

}

.tap-actions .tap-add-favorite:hover{

    background:#9c2f22;

    color:#fff;

}

@media(max-width:600px){

    .tap-actions .tap-btn{

        width:100%;

    }

}
