/* jll.dronevideos.com — styled to match the app.dronevideos.com order flow.
   Palette lifted from the live app: DroneVideos blue #2AA8E0, dark slate
   #3E4756, green CTA #5CB85C, orange CTA #F0813C, price green #45B649. */

:root {
    --blue: #2aa8e0;
    --blue-dark: #1b8fc4;
    --blue-pale: #dff1fb;
    --slate: #3e4756;
    --ink: #333c48;
    --gray: #8a94a6;
    --line: #e3e7ee;
    --bg: #f5f7fa;
    --green: #5cb85c;
    --green-dark: #4cae4c;
    --orange: #f0813c;
    --orange-dark: #e0702c;
    --price: #45b649;
    --red: #d9534f;
    --jll-red: #e30613;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: "Lato", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    font-size: 15px;
    line-height: 1.5;
}
a { color: var(--blue); }
code { background: #eef2f7; padding: 1px 5px; border-radius: 3px; font-size: 13px; }

/* ---------------- chrome ---------------- */
.topbar {
    background: var(--blue);
    color: #fff;
    font-size: 12.5px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 24px;
    flex-wrap: wrap;
}
.masthead { background: #fff; border-bottom: 1px solid var(--line); }
.masthead-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.wordmark { text-decoration: none; font-size: 27px; font-weight: 800; letter-spacing: .5px; }
.wm-drone { color: var(--blue); }
.wm-videos { color: var(--slate); font-weight: 600; }
.jll-strip { display: flex; align-items: center; gap: 10px; }
.jll-badge {
    background: var(--jll-red);
    color: #fff;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 3px;
    letter-spacing: 1px;
}
.jll-text { color: var(--gray); font-size: 13px; }

/* ---------------- stepper ---------------- */
.stepper {
    max-width: 1100px;
    margin: 18px auto 0;
    padding: 0 24px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.step {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 9px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray);
}
.step-dot {
    width: 14px; height: 14px;
    border-radius: 3px;
    background: #d6dbe4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 10px;
}
.step.done { color: var(--ink); }
.step.done .step-dot { background: var(--green); }
.step.current { color: var(--ink); font-weight: 700; }
.step.current .step-dot { background: var(--blue); }

/* ---------------- page scaffold ---------------- */
.page { max-width: 1100px; margin: 0 auto; padding: 8px 24px 48px; }
.page-title { text-align: center; font-size: 26px; font-weight: 700; margin: 26px 0 4px; }
.page-subtitle { text-align: center; color: var(--gray); margin: 0 0 20px; font-size: 14px; }
.footer {
    border-top: 1px solid var(--line);
    background: #fff;
    color: var(--gray);
    font-size: 12.5px;
    text-align: center;
    padding: 16px 24px;
}

.hero-band {
    background: var(--slate) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" opacity=".05"><path d="M0 30h60M30 0v60" stroke="white"/></svg>');
    color: #fff;
    text-align: center;
    padding: 34px 20px;
    border-radius: 6px;
    margin-top: 18px;
}
.hero-band h1 { margin: 0 0 8px; font-size: 30px; letter-spacing: .5px; text-transform: uppercase; }
.hero-band p { margin: 0; opacity: .9; }
.signed-in { text-align: center; color: var(--gray); font-size: 13.5px; margin: 14px 0 0; }
.pkg-count {
    border-bottom: 1px solid var(--line);
    padding: 6px 2px;
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 14px;
}

/* ---------------- package cards ---------------- */
.pkg-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 18px 20px;
    margin-bottom: 22px;
}
.pkg-name { margin: 0 0 12px; font-size: 18px; font-weight: 700; }
.pkg-body { display: flex; gap: 16px; flex-wrap: wrap; }
.pkg-includes {
    flex: 1 1 340px;
    background: var(--blue);
    color: #fff;
    border-radius: 4px;
    padding: 14px 18px;
}
.pkg-includes-head { font-weight: 700; margin-bottom: 8px; }
.pkg-includes ul { margin: 0; padding: 0; list-style: none; }
.pkg-includes li { padding: 2px 0; font-size: 14px; }
.pkg-price-box {
    flex: 0 0 200px;
    border: 1px solid var(--line);
    border-radius: 4px;
    text-align: center;
    padding: 14px;
    align-self: flex-start;
}
.pkg-price-label { color: var(--gray); font-size: 14px; }
.pkg-price { color: var(--price); font-size: 28px; font-weight: 700; margin: 2px 0 10px; }
.pkg-addon-note { color: var(--gray); font-size: 12px; margin-top: 8px; }
.pkg-info {
    background: var(--blue-pale);
    border-radius: 4px;
    margin-top: 14px;
    padding: 10px 14px;
    font-size: 13.5px;
    text-align: center;
    color: #40546a;
}

/* ---------------- buttons ---------------- */
.btn {
    display: inline-block;
    border: 0;
    border-radius: 4px;
    padding: 10px 22px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
}
.btn-green { background: var(--green); }
.btn-green:hover { background: var(--green-dark); }
.btn-orange { background: var(--orange); width: 100%; }
.btn-orange:hover { background: var(--orange-dark); }
.btn-block { width: 100%; }
.btn-small { padding: 5px 12px; font-size: 13px; }
.btn-submit { width: 100%; padding: 13px; font-size: 16px; margin-top: 4px; }
.submit-note { color: var(--gray); font-size: 13px; text-align: center; }

/* ---------------- details layout ---------------- */
.details-grid { display: flex; gap: 22px; align-items: flex-start; }
.details-main { flex: 1 1 620px; min-width: 0; }
.details-side { flex: 0 0 320px; position: sticky; top: 16px; }

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    margin-bottom: 20px;
    overflow: hidden;
}
.card-head {
    margin: 0;
    padding: 13px 18px;
    font-size: 15px;
    letter-spacing: .5px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--line);
    border-left: 4px solid var(--slate);
}
.card-body { padding: 16px 18px; }
.text-blue { color: var(--blue); }

.field { margin-bottom: 14px; min-width: 120px; }
.field.grow { flex: 1; }
.field-row { display: flex; gap: 14px; flex-wrap: wrap; }
.field label { display: block; font-size: 13.5px; margin-bottom: 4px; color: var(--ink); }
.field input, .field select, .field textarea {
    width: 100%;
    border: 1px solid #cfd6e0;
    border-radius: 4px;
    padding: 9px 10px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: 2px solid var(--blue);
    outline-offset: 0;
    border-color: var(--blue);
}
.field input[disabled] { background: #f0f3f7; color: var(--gray); }
.field-error { color: var(--red); font-size: 12.5px; margin-top: 3px; }
.alert { border-radius: 4px; padding: 10px 14px; margin-bottom: 16px; font-size: 14px; }
.alert-error { background: #fdecea; color: #a94442; border: 1px solid #f2c7c4; }

.reminder {
    background: #fcf8e3;
    border: 1px solid #f5e79e;
    color: #8a6d3b;
    border-radius: 4px;
    padding: 9px 12px;
    font-size: 13.5px;
    margin-bottom: 14px;
}
.picker-label { color: var(--blue); font-weight: 700; margin: 12px 0 8px; }
.picker-time-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.anytime { color: var(--ink); font-weight: 400; font-size: 14px; display: flex; align-items: center; gap: 6px; }
.suggestion { font-size: 13px; color: var(--gray); margin: 0 0 10px; }

/* calendar */
.calendar { border: 1px solid var(--line); border-radius: 4px; max-width: 460px; }
.cal-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    padding: 10px;
    font-weight: 700;
}
.cal-arrow { background: none; border: 0; font-size: 20px; cursor: pointer; color: var(--ink); padding: 0 10px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-dow { text-align: center; color: var(--gray); font-size: 12px; padding: 4px 0; }
.cal-day {
    border: 1px solid #f0f2f6;
    background: #fff;
    font: inherit;
    font-size: 14px;
    text-align: center;
    padding: 10px 0;
    cursor: pointer;
    color: var(--ink);
}
.cal-day:hover:not(.disabled) { background: var(--blue-pale); }
.cal-day.out { color: #c3cad6; }
.cal-day.disabled { color: #c3cad6; background: #fafbfc; cursor: default; }
.cal-day.today { background: var(--red); color: #fff; border-radius: 0; }
.cal-day.today.disabled { background: var(--red); opacity: .85; }
.cal-day.selected { background: var(--blue); color: #fff; font-weight: 700; }

/* time chips */
.time-grid { display: flex; flex-wrap: wrap; gap: 8px; max-width: 520px; }
.time-grid.muted { opacity: .45; }
.time-chip input { position: absolute; opacity: 0; pointer-events: none; }
.time-chip span {
    display: inline-block;
    border: 1px solid #cfd6e0;
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 13.5px;
    cursor: pointer;
    background: #fff;
}
.time-chip input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.time-chip input:focus-visible + span { outline: 2px solid var(--blue-dark); }

/* add-ons */
.addon-row { display: flex; gap: 9px; align-items: baseline; padding: 6px 0; cursor: pointer; }
.addon-row input { transform: translateY(1px); }
.addon-price { color: var(--price); font-weight: 700; }

/* sidebar */
.side-card { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 16px; }
.side-head { display: flex; justify-content: space-between; font-size: 17px; font-weight: 700; }
.side-total { color: var(--price); }
.side-pkg { background: var(--blue-pale); border-radius: 4px; text-align: center; padding: 12px; margin: 12px 0; }
.side-pkg-label { font-weight: 700; }
.side-pkg-name { color: var(--blue-dark); font-size: 18px; font-weight: 700; }
.side-addons { list-style: none; margin: 0 0 12px; padding: 0; color: var(--gray); font-size: 13px; }
.side-addons li { padding: 2px 0; border-bottom: 1px dashed var(--line); }
.side-back { display: block; text-align: center; margin-top: 10px; font-size: 13.5px; }
.side-note {
    background: var(--blue-pale);
    border-radius: 6px;
    margin-top: 14px;
    padding: 12px;
    text-align: center;
    font-size: 13px;
    color: #40546a;
}

/* notice + admin */
.notice-card { max-width: 640px; margin: 40px auto; text-align: center; padding: 30px; }
.notice-card h1 { font-size: 24px; }
.muted-note { color: var(--gray); font-size: 13px; }

.badge { border-radius: 3px; font-size: 11.5px; padding: 2px 8px; background: #e6eaf0; color: var(--ink); font-weight: 700; }
.badge-blue { background: var(--blue-pale); color: var(--blue-dark); }
.badge-green { background: #e2f4e2; color: #3d8b3d; }
.badge-orange { background: #fdeadd; color: #c15d17; }

.order-row { border-bottom: 1px solid var(--line); padding: 8px 0; }
.order-row summary { cursor: pointer; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.order-meta { color: var(--gray); font-size: 13px; }
.order-detail { padding: 12px 4px 6px; }
.mini-table { border-collapse: collapse; font-size: 13.5px; margin-bottom: 12px; }
.mini-table th { text-align: left; color: var(--gray); padding: 3px 14px 3px 0; vertical-align: top; white-space: nowrap; }
.mini-table td { padding: 3px 0; }
.import-head { display: flex; align-items: center; gap: 12px; margin: 10px 0 6px; }
.import-box {
    width: 100%;
    font-family: "SF Mono", Consolas, Menlo, monospace;
    font-size: 12.5px;
    border: 1px solid #cfd6e0;
    border-radius: 4px;
    padding: 10px;
    background: #f8fafc;
}
.inline-form { display: inline-block; margin-top: 8px; }
.log-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.log-table td { border-bottom: 1px solid var(--line); padding: 5px 8px 5px 0; }

@media (max-width: 900px) {
    .details-grid { flex-direction: column-reverse; }
    .details-side { position: static; flex: 1 1 auto; width: 100%; }
    .pkg-price-box { flex: 1 1 auto; }
    .topbar { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }
}

/* add-on tooltips, sample links, callout fields */
.addon-block { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; padding: 6px 0; }
.addon-block .addon-row { padding: 0; }
.sample-link { font-size: 11.5px; font-weight: 700; letter-spacing: .4px; text-decoration: none; }
.sample-link:hover { text-decoration: underline; }
.info {
    color: var(--blue);
    cursor: help;
    position: relative;
    font-style: normal;
    outline: none;
}
.info::after {
    content: attr(data-tip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translateX(-50%);
    background: #1f2630;
    color: #fff;
    font-size: 12.5px;
    line-height: 1.45;
    padding: 10px 12px;
    border-radius: 5px;
    width: 260px;
    z-index: 30;
    opacity: 0;
    pointer-events: none;
    transition: opacity .12s ease;
}
.info:hover::after, .info:focus::after { opacity: 1; }
.callouts-field {
    flex-basis: 100%;
    margin: 4px 0 6px 26px;
}
.callouts-field label { display: block; font-size: 13.5px; margin-bottom: 4px; }
.callouts-field .req { color: var(--red); }
.callouts-field textarea {
    width: 100%;
    max-width: 640px;
    border: 1px solid #cfd6e0;
    border-radius: 4px;
    padding: 8px 10px;
    font-size: 14px;
    font-family: inherit;
}
.callouts-field textarea:focus { outline: 2px solid var(--blue); border-color: var(--blue); }
