html {
    font-size: 16px;
}

body {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.roadtrip-page .navbar-default .navbar-brand {
    color: #cfbfb4;
}

/* ===== Travel-themed navbar ===== */
.navbar-static-top {
    background: #fff;
    border: none;
    border-bottom: 2px solid #e8e8e8;
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
    min-height: 60px;
}

.navbar-static-top .container {
    padding: 0 20px;
}

.navbar-brand {
    padding: 0 16px;
    line-height: 60px;
    font-size: 1.6rem;
    color: #4c5d6c;
    text-decoration: none;
    transition: color 0.2s;
}

.navbar-brand:hover {
    color: #2e86c1;
}

.brand-highlights {
    font-family: 'Caveat', cursive;
    font-weight: 700;
    font-size: 2rem;
    color: #889a78;
    display: inline-block;
    transform: rotate(-2deg);
    margin-left: 2px;
}

.navbar-toggle {
    border-color: #ddd;
    margin-right: 12px;
}

.navbar-toggle .icon-bar {
    background: #333;
}

.navbar-toggle {
    border-color: rgba(255,255,255,0.4);
    margin-right: 12px;
}

.navbar-toggle .icon-bar {
    background: #fff;
}

.navbar-nav > li > a {
    color: #666;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 20px 14px;
    transition: color 0.2s;
}

.navbar-nav > li > a:hover {
    color: #2e86c1;
}

.navbar-nav .open .dropdown-menu > li > a {
    color: #666;
}

.navbar-nav .open .dropdown-menu > li > a:hover {
    background: #f8f9fa;
    color: #1a5276;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .navbar-static-top {
        min-height: 50px;
    }

    .navbar-brand {
        font-size: 1.3rem;
        line-height: 50px;
        padding: 0 12px;
    }

    .brand-compass {
        font-size: 1.2rem;
    }

    .navbar-nav > li > a {
        padding: 14px 12px;
        font-size: 0.9rem;
    }
}

/* Auth icon links */
.auth-link > a {
    display: inline-flex;
    align-items: center;
    padding: 16px 8px;
}

.auth-link > a svg {
    width: 18px;
    height: 18px;
    stroke: #888;
    transition: stroke 0.2s;
}

.auth-link > a:hover svg {
    stroke: #2e86c1;
}

.auth-link > a[title="Inloggen"] svg {
    stroke-width: 2;
}

.auth-link > a[title="Aanmelden"] svg {
    stroke-width: 2;
}

/* Mobile auth links */
@media (max-width: 768px) {
    .auth-link > a {
        padding: 12px;
    }

    .auth-link > a svg {
        width: 20px;
        height: 20px;
    }
}

.roadtrip-page {
    background: #FAF6F0;
}

body.roadtrip-page {
    background: #FAF6F0;
}

.roadtrip-hero {
    background: linear-gradient(135deg, #1a5276 0%, #2e86c1 50%, #48c9b0 100%);
    color: #fff;
    padding: 60px 0 40px;
    text-align: center;
    margin-bottom: 40px;
}

.roadtrip-hero h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.roadtrip-hero .subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.roadtrip-hero .route-path {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 0;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    max-width: 960px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.summary-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.summary-card .value {
    font-size: 2rem;
    font-weight: 600;
    color: #1a5276;
    margin-bottom: 4px;
}

.summary-card .label {
    font-size: 0.95rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px 60px;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 60px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #e0e0e0;
}

.timeline-day {
    position: relative;
    margin-bottom: 40px;
    padding-left: 80px;
}

/* Clickable day number */
.day-number-circle {
    position: absolute;
    left: 0;
    top: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #2e86c1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-decoration: none;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.day-number-circle:hover {
    box-shadow: 0 4px 16px rgba(46,134,193,0.3);
    border-color: #1a5276;
}

.day-number-circle .day {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 1px;
}

.day-number-circle .num {
    font-size: 2rem;
    font-weight: 700;
    color: #2e86c1;
    line-height: 1;
}

/* Clickable day card */
.day-card-link {
    position: relative;
    display: block;
    text-decoration: none;
    z-index: 1;
}

.day-card-link:hover + .day-card,
.day-card:hover {
    box-shadow: 0 4px 16px rgba(46,134,193,0.15);
}

.timeline-day:last-child {
    margin-bottom: 0;
}

.day-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #2e86c1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.day-number .day {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 1px;
}

.day-number .num {
    font-size: 2rem;
    font-weight: 700;
    color: #2e86c1;
    line-height: 1;
}

.day-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
}

.day-header {
    background: #f8f9fa;
    padding: 16px 24px;
    border-bottom: 1px solid #e8e8e8;
}

.day-header .date {
    font-size: 0.95rem;
    color: #888;
    margin-bottom: 4px;
}

.day-header .dagtitel {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a5276;
    margin: 0 0 8px;
}

.route-table {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.route-table .route-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.route-table .route-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 0.5px;
}

.route-table .route-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a5276;
}

.route-arrow {
    color: #2e86c1;
    font-size: 1.2rem;
}

.highlights-section {
    padding: 16px 24px;
}

.highlights-section h4 {
    font-size: 0.95rem;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 0.5px;
    margin: 0 0 12px;
}

.highlight-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #2e86c1;
}

.highlight-item .h-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    width: 28px;
    text-align: center;
}

.highlight-item .h-content {
    flex: 1;
}

.highlight-item .h-name {
    font-weight: 600;
    color: #1a5276;
    margin-bottom: 2px;
    font-size: 1.05rem;
}

.highlight-item .h-type {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.highlight-item .h-desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.4;
}

.day-opmerking {
    padding: 12px 24px;
    background: #fff8e1;
    border-top: 1px solid #ffecb3;
    font-size: 0.95rem;
    color: #795548;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.day-opmerking::before {
    content: '\26A0';
    flex-shrink: 0;
}

/* ===== Mini sections (overview page) ===== */
.segments-mini-section,
.mini-section {
    padding: 12px 24px;
    border-top: 1px solid #f0f0f0;
}

.segments-mini-section h4,
.mini-section h4 {
    font-size: 0.95rem;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 0.5px;
    margin: 0 0 8px;
}

.segments-mini-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.segments-mini-item {
    display: flex;
    gap: 8px;
    padding: 4px 0;
    font-size: 0.8rem;
    border-bottom: 1px solid #f5f5f5;
}

.segments-mini-item:last-child {
    border-bottom: none;
}

.segments-mini-icon {
    font-weight: 600;
    color: #1a5276;
    flex: 0 0 60px;
    min-width: 60px;
}

.segments-mini-route {
    flex: 1;
    color: #1a5276;
}

.segments-mini-times {
    color: #888;
    font-size: 0.85rem;
    white-space: nowrap;
    margin-left: auto;
}

.mini-row {
    display: flex;
    padding: 4px 0;
    font-size: 0.85rem;
}

.mini-label {
    min-width: 110px;
    color: #888;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    line-height: 1.6;
}

.mini-value {
    color: #1a5276;
    line-height: 1.6;
}

/* Mini sections mobile */
@media (max-width: 768px) {
    .segments-mini-section,
    .mini-section {
        padding: 10px 14px;
    }

    .segments-mini-icon {
        flex: 0 0 45px;
        min-width: 45px;
        font-size: 0.8rem;
    }

    .segments-mini-times {
        font-size: 0.8rem;
    }

    .mini-label {
        min-width: 80px;
    }
}

.travel-day {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 24px;
    margin-bottom: 20px;
}

.travel-day .route-summary {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
}

.travel-day .route-stat {
    text-align: center;
}

.travel-day .route-stat .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a5276;
}

.travel-day .route-stat .stat-label {
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
}

.travel-day .via-stops {
    font-size: 0.9rem;
    color: #555;
}

.travel-day .via-stops strong {
    color: #1a5276;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a5276;
    margin-bottom: 24px;
    text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .roadtrip-hero {
        padding: 40px 0 24px;
    }

    .roadtrip-hero h1 {
        font-size: 1.8rem;
    }

    .roadtrip-hero .subtitle {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }

    .roadtrip-hero .route-path {
        font-size: 0.9rem;
        line-height: 1.5;
        word-break: break-word;
        padding: 0 12px;
    }

    .summary-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-bottom: 24px;
        padding: 0 12px;
    }

    .summary-card .value {
        font-size: 1.5rem;
    }

    .timeline {
        padding: 0 12px 40px;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-day {
        padding-left: 44px;
        margin-bottom: 20px;
    }

    .day-number {
        width: 40px;
        height: 40px;
        left: 0;
    }

    .day-number .day {
        display: none;
    }

    .day-number .num {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
    }

    .day-card {
        border-radius: 6px;
    }

    .day-header {
        padding: 12px 14px;
    }

    .day-header .date {
        font-size: 0.9rem;
    }

    .day-header .dagtitel {
        font-size: 1.2rem;
        margin-bottom: 6px;
    }

    .route-table {
        gap: 12px;
        margin-bottom: 8px;
    }

    .route-table .route-item {
        gap: 4px;
    }

    .route-table .route-label {
        font-size: 0.8rem;
    }

    .route-table .route-value {
        font-size: 0.95rem;
    }

    .route-arrow {
        font-size: 1rem;
    }

    .highlights-section {
        padding: 12px 14px;
    }

    .highlight-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .highlight-item {
        padding: 10px;
    }

    .day-opmerking {
        padding: 10px 14px;
        font-size: 0.95rem;
    }
}

@media (max-width: 400px) {
    .roadtrip-hero h1 {
        font-size: 1.5rem;
    }

    .summary-grid {
        grid-template-columns: 1fr;
    }

    .summary-card {
        padding: 14px;
    }
}

/* ===== Overview very small screens ===== */
@media (max-width: 380px) {
    .roadtrip-hero h1 {
        font-size: 1.4rem;
    }

    .summary-grid {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 0 8px;
    }

    .timeline {
        padding: 0 8px 32px;
    }

    .timeline::before {
        left: 18px;
    }

    .timeline-day {
        padding-left: 36px;
        margin-bottom: 16px;
    }

    .day-number-circle {
        width: 36px;
        height: 36px;
    }

    .day-number-circle .day {
        display: none;
    }

    .day-number-circle .num {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.95rem;
        font-weight: 700;
        color: #2e86c1;
        line-height: 1;
    }

    .day-header {
        padding: 10px 12px;
    }

    .day-header .dagtitel {
        font-size: 1.1rem;
    }

    .route-table {
        flex-wrap: wrap;
        gap: 6px;
    }

    .route-table .route-label {
        font-size: 0.8rem;
    }

    .route-table .route-value {
        font-size: 0.95rem;
    }

    /* Mini sections */
    .segments-mini-section,
    .mini-section {
        padding: 8px 12px;
    }

    .segments-mini-section h4,
    .mini-section h4 {
        font-size: 0.9rem;
    }

    .segments-mini-item {
        flex-wrap: wrap;
        gap: 4px;
        font-size: 0.95rem;
        padding: 3px 0;
    }

    .segments-mini-icon {
        flex: 0 0 100%;
        min-width: 100%;
        padding-bottom: 2px;
        font-size: 0.8rem;
    }

    .segments-mini-route {
        flex: 0 0 50%;
        min-width: 50%;
    }

    .segments-mini-times {
        flex: 0 0 50%;
        min-width: 50%;
        text-align: right;
        font-size: 0.85rem;
    }

    .mini-row {
        font-size: 0.95rem;
        padding: 3px 0;
    }

    .mini-label {
        min-width: 0;
        font-size: 0.85rem;
    }

    .mini-value {
        font-size: 0.95rem;
    }

    .highlights-section {
        padding: 10px 12px;
    }

    .highlights-section h4 {
        font-size: 0.9rem;
    }

    .highlight-item {
        padding: 8px;
    }

    .highlight-item .h-name {
        font-size: 1rem;
    }

    .highlight-item .h-desc {
        font-size: 0.9rem;
    }

    .day-opmerking {
        padding: 8px 12px;
        font-size: 0.95rem;
    }
}

/* ===== Day detail page ===== */

.day-verhaal {
    max-width: 720px;
    margin: 0 auto 32px;
    padding: 0 20px;
}

.day-verhaal-inner {
    background: #fff;
    padding: 32px;
    line-height: 1.7;
    color: #333;
    font-size: 1.05rem;
}

.day-verhaal-inner h1,
.day-verhaal-inner h2,
.day-verhaal-inner h3 {
    color: #1a5276;
    margin: 1.5em 0 0.5em;
}

.day-verhaal-inner h1:first-child {
    margin-top: 0;
}

.day-verhaal-inner strong {
    color: #1a5276;
}

.day-verhaal-inner ::selection {
    background: #2e86c1;
    color: #fff;
}

/* Rich verhaal: headings */
.day-verhaal-inner h2 {
    font-size: 1.35rem;
    color: #1a5276;
    margin: 1.8em 0 0.6em;
    padding-bottom: 0.3em;
    border-bottom: 2px solid #eaf0f7;
}

.day-verhaal-inner h3 {
    font-size: 1.15rem;
    color: #2471a3;
    margin: 1.4em 0 0.4em;
}

.day-verhaal-inner h4,
.day-verhaal-inner h5,
.day-verhaal-inner h6 {
    font-size: 1rem;
    color: #2e86c1;
    margin: 1.2em 0 0.4em;
}

/* Rich verhaal: paragraphs */
.day-verhaal-inner p {
    margin: 0.8em 0;
}

.day-verhaal-inner p + p {
    margin-top: 0;
}

/* Rich verhaal: lists */
.day-verhaal-inner ul,
.day-verhaal-inner ol {
    margin: 0.8em 0;
    padding-left: 1.6em;
}

.day-verhaal-inner li {
    margin: 0.3em 0;
}

.day-verhaal-inner li::marker {
    color: #2e86c1;
}

.day-verhaal-inner ul li {
    list-style-type: disc;
}

.day-verhaal-inner ol li {
    list-style-type: decimal;
}

/* Rich verhaal: blockquote */
.day-verhaal-inner blockquote {
    margin: 1em 0;
    padding: 0.6em 1em;
    border-left: 4px solid #2e86c1;
    background: #f4f8fb;
    color: #2c3e50;
    font-style: italic;
}

.day-verhaal-inner blockquote p {
    margin: 0;
}

/* Rich verhaal: hr */
.day-verhaal-inner hr {
    border: none;
    height: 2px;
    background: linear-gradient(to right, transparent, #d4e6f1, transparent);
    margin: 2em 0;
}

/* Rich verhaal: code */
.day-verhaal-inner code {
    background: #f4f8fb;
    padding: 0.15em 0.4em;
    border-radius: 3px;
    font-size: 0.9em;
    color: #c0392b;
}

/* Rich verhaal: table */
.day-verhaal-inner table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
    font-size: 0.95rem;
}

.day-verhaal-inner th,
.day-verhaal-inner td {
    padding: 0.5em 0.8em;
    border: 1px solid #d4e6f1;
    text-align: left;
}

.day-verhaal-inner th {
    background: #eaf0f7;
    color: #1a5276;
    font-weight: 600;
}

/* Rich verhaal: inline images */
.day-verhaal-inner img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 0.8em 0;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .day-verhaal-inner {
        padding: 20px;
    }

    .day-verhaal-inner h2 {
        font-size: 1.2rem;
    }

    .day-verhaal-inner h3 {
        font-size: 1.1rem;
    }

    .day-verhaal-inner blockquote {
        padding: 0.5em 0.8em;
    }
}

/* Mobile responsive for detail page */
.day-detail {
    max-width: 720px;
    margin: 0 auto 32px;
    padding: 0 20px;
}

.day-detail-inner {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    overflow: hidden;
}

.day-hero-image {
    width: 100%;
    margin: 0 auto 32px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.day-hero-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.detail-section {
    padding: 24px;
    border-bottom: 1px solid #e8e8e8;
}

.detail-section:last-child {
    border-bottom: none;
}

.detail-section h3 {
    font-size: 1rem;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 0.5px;
    margin: 0 0 16px;
}

.detail-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.detail-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    width: 28px;
    text-align: center;
    margin-top: 2px;
}

.detail-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 0.5px;
    min-width: 80px;
    line-height: 1.5;
}

.detail-value {
    font-size: 1rem;
    color: #1a5276;
    line-height: 1.5;
}

.highlight-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #2e86c1;
}

.highlight-item .h-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    width: 28px;
    text-align: center;
}

.highlight-item .h-content {
    flex: 1;
}

.highlight-item .h-type {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.highlight-item .h-name {
    font-weight: 600;
    color: #1a5276;
    margin-bottom: 2px;
    font-size: 0.95rem;
}

.highlight-item .h-desc {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.4;
}

.day-opmerking {
    padding: 16px 24px;
    background: #fff8e1;
    border-top: 1px solid #ffecb3;
    font-size: 0.85rem;
    color: #795548;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
}

.day-opmerking::before {
    content: '\26A0';
    flex-shrink: 0;
}

/* ===== Day navigation ===== */
.day-nav {
    max-width: 720px;
    margin: 0 auto 40px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.day-nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 18px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    color: #1a5276;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: box-shadow 0.2s, background 0.2s;
}

.day-nav-link:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    background: #f0f4f8;
}

.day-nav-back {
    text-align: center;
    font-size: 0.9rem;
    color: #888;
    padding: 12px;
}

.nav-arrow {
    font-size: 1.1rem;
}

/* Mobile responsive for detail page */
/* ===== Segments table ===== */
.segments-table {
    width: 100%;
    overflow-x: auto;
}

.segments-header {
    display: flex;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 0.5px;
    padding: 8px 0;
    border-bottom: 2px solid #e0e0e0;
    font-weight: 600;
}

.segments-row {
    display: flex;
    font-size: 0.9rem;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
}

.segments-row:last-child {
    border-bottom: none;
}

.segments-total {
    display: flex;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 12px 0 4px;
    border-top: 2px solid #1a5276;
    color: #1a5276;
    align-items: center;
}

.seg-col {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.seg-col.carrier {
    font-weight: 600;
    color: #1a5276;
    flex: 0 0 80px;
    min-width: 80px;
}

.seg-col.van {
    flex: 0 0 100px;
    min-width: 100px;
}

.seg-col.naar {
    flex: 0 0 120px;
    min-width: 120px;
}

.seg-col.vertrek,
.seg-col.aankomst {
    flex: 0 0 130px;
    min-width: 130px;
    font-size: 0.75rem;
}

.seg-col.pers1,
.seg-col.pers2 {
    flex: 0 0 60px;
    min-width: 60px;
    text-align: right;
    font-size: 0.8rem;
}

.seg-col.totaal {
    flex: 0 0 60px;
    min-width: 60px;
    text-align: right;
    font-weight: 600;
    font-size: 0.8rem;
}

.seg-col.info {
    flex: 1;
    min-width: 120px;
    font-size: 0.75rem;
    color: #666;
}

.seg-total-value {
    flex: 0 0 80px;
    text-align: right;
}

/* ===== Hotel card ===== */
.hotel-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
}

.hotel-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a5276;
    margin-bottom: 4px;
}

.hotel-booking {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 12px;
}

.hotel-detail {
    display: flex;
    padding: 6px 0;
    font-size: 0.85rem;
}

.hotel-label {
    min-width: 100px;
    color: #888;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    line-height: 1.5;
}

.hotel-value {
    color: #1a5276;
    line-height: 1.5;
}

.hotel-price .hotel-value {
    font-weight: 600;
    font-size: 1rem;
}

/* ===== Car card ===== */
.car-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
}

.car-detail {
    display: flex;
    padding: 6px 0;
    font-size: 0.95rem;
}

.car-label {
    min-width: 120px;
    color: #888;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    line-height: 1.5;
}

.car-value {
    color: #1a5276;
    line-height: 1.5;
}

.car-supplier {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 8px;
    font-style: italic;
}

.car-total {
    border-top: 1px solid #ddd;
    margin-top: 4px;
    padding-top: 8px;
}

.car-total .car-value {
    font-weight: 600;
    color: #27ae60;
}

/* Car card mobile */
@media (max-width: 768px) {
    .car-label {
        min-width: 90px;
    }

    .car-value {
        font-size: 0.8rem;
    }
}

/* ===== Segments mobile ===== */
@media (max-width: 768px) {
    .day-detail {
        padding: 0 12px 24px;
    }

    .detail-section {
        padding: 16px;
    }

    .detail-label {
        min-width: 0;
        font-size: 0.8rem;
    }

    .detail-value {
        font-size: 1rem;
    }

    .detail-item {
        gap: 8px;
    }

    .segments-header,
    .segments-row,
    .segments-total {
        font-size: 0.85rem;
    }

    .seg-col.carrier {
        flex: 0 0 60px;
        min-width: 60px;
    }

    .seg-col.van {
        flex: 0 0 70px;
        min-width: 70px;
    }

    .seg-col.naar {
        flex: 0 0 80px;
        min-width: 80px;
    }

    .seg-col.vertrek,
    .seg-col.aankomst {
        flex: 0 0 100px;
        min-width: 100px;
        font-size: 0.8rem;
    }

    .seg-col.pers1,
    .seg-col.pers2 {
        flex: 0 0 45px;
        min-width: 45px;
        font-size: 0.8rem;
    }

    .seg-col.totaal {
        flex: 0 0 50px;
        min-width: 50px;
        font-size: 0.85rem;
    }

    .seg-col.info {
        min-width: 80px;
        font-size: 0.8rem;
    }

    .hotel-card {
        padding: 12px;
    }

    .hotel-label {
        min-width: 80px;
    }

    .day-nav {
        padding: 0 12px 32px;
        gap: 8px;
    }

    .day-nav-link {
        padding: 10px 12px;
        font-size: 0.95rem;
        flex-direction: column;
        align-items: center;
        gap: 2px;
    }

    .highlight-list {
        grid-template-columns: 1fr;
    }
}

/* ===== Very small screens (Galaxy S9 etc. ~360px) ===== */
@media (max-width: 380px) {
    .roadtrip-hero {
        padding: 32px 0 20px;
    }

    .roadtrip-hero h1 {
        font-size: 1.4rem;
    }

    .roadtrip-hero .subtitle {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }

    .roadtrip-hero .route-path {
        font-size: 0.85rem;
        padding: 0 8px;
    }

    .day-detail {
        padding: 0 8px 20px;
    }

    .day-hero-image {
        border-radius: 6px;
        margin-bottom: 20px;
    }

    .day-hero-image img {
        height: 200px;
    }

    .day-detail-inner {
        border-radius: 6px;
    }

    .detail-section {
        padding: 14px;
    }

    .detail-section h3 {
        font-size: 0.95rem;
    }

    .detail-item {
        gap: 6px;
        font-size: 0.9rem;
    }

    .detail-icon {
        font-size: 1rem;
        width: 24px;
    }

    .detail-label {
        font-size: 0.8rem;
        min-width: 0;
    }

    .detail-value {
        font-size: 1rem;
    }

    /* Segments table - stack vertically */
    .segments-header,
    .segments-row {
        flex-wrap: wrap;
        font-size: 0.9rem;
    }

    .seg-col.carrier {
        flex: 0 0 100%;
        min-width: 100%;
        padding-bottom: 4px;
    }

    .seg-col.van,
    .seg-col.naar {
        flex: 0 0 45%;
        min-width: 45%;
    }

    .seg-col.vertrek,
    .seg-col.aankomst {
        flex: 0 0 45%;
        min-width: 45%;
        font-size: 0.8rem;
    }

    .seg-col.pers1,
    .seg-col.pers2 {
        flex: 0 0 28%;
        min-width: 28%;
        text-align: right;
        font-size: 0.85rem;
    }

    .seg-col.totaal {
        flex: 0 0 28%;
        min-width: 28%;
        text-align: right;
        font-size: 0.85rem;
    }

    .seg-col.info {
        flex: 0 0 100%;
        min-width: 100%;
        font-size: 0.85rem;
        padding-top: 4px;
    }

    .segments-total {
        flex-wrap: wrap;
        font-size: 0.95rem;
    }

    .seg-total-value {
        flex: 0 0 100%;
        text-align: left;
        font-size: 1rem;
        padding-top: 8px;
    }

    /* Hotel & car cards */
    .hotel-card,
    .car-card {
        padding: 12px;
    }

    .hotel-detail,
    .car-detail {
        font-size: 0.95rem;
        padding: 5px 0;
    }

    .hotel-label,
    .car-label {
        min-width: 90px;
        font-size: 0.85rem;
    }

    .hotel-value,
    .car-value {
        font-size: 0.95rem;
    }

    .hotel-name {
        font-size: 1rem;
    }

    .hotel-price .hotel-value {
        font-size: 0.95rem;
    }

    /* Highlights */
    .highlight-list {
        grid-template-columns: 1fr;
    }

    .highlight-item {
        padding: 10px;
    }

    .highlight-item .h-name {
        font-size: 1rem;
    }

    .highlight-item .h-desc {
        font-size: 0.95rem;
    }

    /* Day navigation - stack vertically */
    .day-nav {
        flex-direction: column;
        padding: 0 8px 24px;
        gap: 8px;
    }

    .day-nav-link {
        width: 100%;
        justify-content: center;
        padding: 12px;
        font-size: 1rem;
    }
}