/* Luna Tenerife - site & booking wizard styles (Bootstrap 5 based) */

:root {
    --lt-primary: #ff7e5f;
    --lt-secondary: #feb47b;
    --lt-dark: #0c1b2a;
    --lt-gradient: linear-gradient(131deg, #feb47b, #ff7e5f);
}

body {
    font-family: "Open Sans", "Segoe UI", sans-serif;
    background: #f6f7fb;
}

h1, h2, h3, h4, .navbar-brand { font-family: "Barlow", sans-serif; }

/* top bar + nav */
.lt-topbar { background: var(--lt-dark); color: #cfd8e3; font-size: .85rem; }
.lt-topbar a { color: #cfd8e3; text-decoration: none; margin-left: 1rem; }
.lt-topbar a:hover { color: #fff; }

.navbar-lt { background: #fff; box-shadow: 0 2px 14px rgba(0,0,0,.06); }
.navbar-lt .nav-link { font-weight: 600; color: var(--lt-dark); text-transform: capitalize; }
.navbar-lt .nav-link:hover, .navbar-lt .nav-link.active { color: var(--lt-primary); }

.btn-lt {
    background: var(--lt-gradient); color: #fff; border: none;
    font-weight: 600; padding: .6rem 1.6rem; border-radius: 4px;
    box-shadow: 0 8px 20px rgba(255,126,95,.35);
}
.btn-lt:hover { color: #fff; opacity: .92; }

/* hero */
.lt-hero {
    position: relative; padding: 90px 0 60px; color: #fff;
    background: var(--lt-gradient);
    background-size: cover; background-position: center;
}
.lt-hero::before {
    content: ""; position: absolute; inset: 0;
    background: rgba(12,27,42,.55);
}
.lt-hero > .container { position: relative; z-index: 2; }

/* booking wizard */
.booking-card {
    background: #fff; border-radius: 10px; box-shadow: 0 15px 50px rgba(12,27,42,.12);
    overflow: hidden;
}
.step-indicator { display: flex; align-items: center; justify-content: center; gap: .35rem; padding: 1.25rem 0 .5rem; }
.step-indicator .step {
    width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: #eef0f4; color: #667; font-weight: 700; cursor: pointer; transition: all .25s;
    border: 2px solid transparent;
}
.step-indicator .step small { display: block; font-size: .65rem; font-weight: 500; }
.step-indicator .step.active { background: var(--lt-gradient); color: #fff; box-shadow: 0 6px 16px rgba(255,126,95,.4); }
.step-indicator .step.done { background: #d7f5e3; color: #159b52; }
.step-connector { width: 44px; height: 2px; background: #e3e6ec; }
.step-connector.done { background: #159b52; }

.booking-step { display: none; padding: 1.5rem 1.75rem; animation: ltFade .3s ease; }
.booking-step.active { display: block; }
@keyframes ltFade { from { opacity: 0; transform: translateY(8px);} to { opacity: 1; transform: none; } }

.map-container { border-radius: 8px; overflow: hidden; border: 1px solid #e3e6ec; }
#map, .map-container #route-map { width: 100%; height: 360px; background: #e8ebf0; }

/* sticky summary sidebar */
.summary-card {
    position: sticky; top: 90px; background: #fff; border-radius: 10px;
    box-shadow: 0 15px 50px rgba(12,27,42,.12); overflow: hidden;
}
.summary-card .summary-head { background: var(--lt-dark); color: #fff; padding: .9rem 1.2rem; font-weight: 600; }
.summary-card .summary-body { padding: 1rem 1.2rem; font-size: .9rem; }
.summary-line { display: flex; justify-content: space-between; padding: .3rem 0; color: #445; }
.summary-line.muted { color: #98a; }
.summary-total { border-top: 1px dashed #dde; margin-top: .5rem; padding-top: .6rem;
    display: flex; justify-content: space-between; font-weight: 700; font-size: 1.1rem; color: var(--lt-dark); }
.summary-total .original { text-decoration: line-through; color: #98a; font-weight: 400; font-size: .85rem; }

/* vehicle / method cards */
.choice-card { border: 2px solid #e6e8ee; border-radius: 8px; padding: 1rem; cursor: pointer; transition: .2s; height: 100%; }
.choice-card:hover { border-color: var(--lt-secondary); }
.choice-card.selected { border-color: var(--lt-primary); box-shadow: 0 8px 20px rgba(255,126,95,.18); }
.choice-card.disabled { opacity: .45; cursor: not-allowed; }
.choice-card img { width: 100%; height: 110px; object-fit: cover; border-radius: 6px; }

.waypoint-row .btn-remove-wp { border: none; background: none; color: #c33; font-size: 1.2rem; }

/* notifications dropdown */
.notif-badge { position: absolute; top: 2px; right: -4px; font-size: .6rem; }

/* portal layout */
.portal-layout { display: flex; min-height: 100vh; }
.portal-sidebar {
    width: 240px; background: var(--lt-dark); color: #cfd8e3; flex-shrink: 0;
    position: fixed; top: 0; bottom: 0; left: 0; overflow-y: auto;
}
.portal-sidebar a { color: #cfd8e3; }
.portal-sidebar .nav-link { padding: .65rem 1.1rem; border-radius: 6px; margin: 2px 10px; font-weight: 500; }
.portal-sidebar .nav-link:hover, .portal-sidebar .nav-link.active { background: rgba(255,255,255,.08); color: #fff; }
.portal-sidebar .brand { padding: 1.2rem; font-weight: 700; color: #fff; font-size: 1.1rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.portal-content { flex: 1; margin-left: 240px; padding: 1.5rem; }
@media (max-width: 991px) {
    .portal-sidebar { position: static; width: 100%; }
    .portal-content { margin-left: 0; }
    .portal-layout { flex-direction: column; }
}

.stat-card { background: #fff; border-radius: 10px; padding: 1.2rem; box-shadow: 0 6px 20px rgba(12,27,42,.07); }
.stat-card .num { font-size: 1.8rem; font-weight: 700; color: var(--lt-dark); }

/* driver chat */
.chat-box { height: 420px; overflow-y: auto; background: #f4f6fa; border-radius: 8px; padding: 1rem; }
.chat-msg { max-width: 75%; padding: .55rem .9rem; border-radius: 14px; margin-bottom: .6rem; font-size: .9rem; }
.chat-msg.mine { background: var(--lt-gradient); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.chat-msg.theirs { background: #fff; border: 1px solid #e6e8ee; border-bottom-left-radius: 4px; }
.chat-meta { font-size: .7rem; opacity: .75; margin-top: 3px; }

/* footer */
.lt-footer { background: var(--lt-dark); color: #9fb0c3; padding: 60px 0 0; }
.lt-footer a { color: #9fb0c3; text-decoration: none; }
.lt-footer a:hover { color: #fff; }
.lt-footer .copyright { border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; padding: 18px 0; font-size: .85rem; }

/* misc */
.section-pad { padding: 70px 0; }
.text-lt { color: var(--lt-primary) !important; }
.badge-status { text-transform: capitalize; }
.table-card { background: #fff; border-radius: 10px; box-shadow: 0 6px 20px rgba(12,27,42,.07); overflow: hidden; }
.form-label { font-weight: 600; font-size: .88rem; color: #334; }
