/* 247 Fare Calculator – Public Styles */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;900&family=Barlow:wght@300;400;500&display=swap');

.fc-calculator {
    --fc-navy:   #0d1b2a;
    --fc-gold:   #c8973a;
    --fc-gold2:  #e8b84b;
    --fc-slate:  #1e2d3d;
    --fc-green:  #2e7d52;
    --fc-radius: 10px;
    font-family: 'Barlow', sans-serif;
    background: var(--fc-slate);
    border: 1px solid rgba(200,151,58,.25);
    border-radius: 16px;
    max-width: 640px;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,.22);
    color: #fff;
}

/* HEADER */
.fc-header {
    background: linear-gradient(135deg, var(--fc-navy) 0%, #162030 100%);
    border-bottom: 2px solid var(--fc-gold);
    padding: 28px 32px 22px;
}
.fc-eyebrow {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--fc-gold);
    margin-bottom: 6px;
}
.fc-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
    margin: 0;
}
.fc-title span { color: var(--fc-gold); }
.fc-subtitle {
    margin-top: 8px;
    font-size: 13px;
    color: rgba(255,255,255,.5);
    font-weight: 300;
}

/* BODY */
.fc-body { padding: 28px 32px; }

.fc-field { margin-bottom: 22px; }

.fc-label {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--fc-gold);
    margin-bottom: 8px;
}

.fc-select,
.fc-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--fc-radius);
    color: #fff;
    font-family: 'Barlow', sans-serif;
    font-size: 15px;
    transition: border-color .2s, background .2s;
    box-sizing: border-box;
}
.fc-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c8973a' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}
.fc-select option { background: var(--fc-slate); color: #fff; }
.fc-select:focus,
.fc-input:focus  {
    outline: none;
    border-color: var(--fc-gold);
    background: rgba(200,151,58,.08);
}

/* RIDER GRID */
.fc-rider-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}
.fc-rider-btn {
    padding: 9px 0;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 8px;
    color: rgba(255,255,255,.6);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all .15s;
}
.fc-rider-btn:hover { border-color: var(--fc-gold); color: #fff; }
.fc-rider-btn.active { background: var(--fc-gold); border-color: var(--fc-gold2); color: var(--fc-navy); }

.fc-vehicle-note {
    margin-top: 8px;
    font-size: 12px;
    color: var(--fc-gold);
    font-style: italic;
}

/* VEHICLE GRID */
.fc-vehicle-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.fc-vehicle-btn {
    padding: 14px 10px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--fc-radius);
    color: rgba(255,255,255,.5);
    font-family: 'Barlow Condensed', sans-serif;
    cursor: pointer;
    transition: all .15s;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}
.fc-vehicle-btn:hover  { border-color: var(--fc-gold); color: #fff; }
.fc-vehicle-btn.active { background: rgba(200,151,58,.15); border-color: var(--fc-gold); color: var(--fc-gold2); }
.fc-vehicle-btn.fc-disabled { opacity: .35; cursor: not-allowed; }
.fc-v-icon { font-size: 24px; }
.fc-v-name { font-size: 16px; font-weight: 700; }
.fc-v-sub  { font-size: 11px; color: rgba(255,255,255,.4); }
.fc-vehicle-btn.active .fc-v-sub { color: rgba(200,151,58,.7); }

/* DIVIDER */
.fc-divider {
    height: 1px;
    background: rgba(255,255,255,.08);
    margin: 20px 0;
}

/* CHAUFFEUR */
.fc-chauffeur-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 18px;
    background: rgba(200,151,58,.07);
    border: 1px solid rgba(200,151,58,.2);
    border-radius: var(--fc-radius);
    cursor: pointer;
    user-select: none;
}
.fc-chauffeur-row input[type="checkbox"] { display: none; }
.fc-check-box {
    width: 22px; height: 22px;
    border-radius: 6px;
    border: 2px solid rgba(200,151,58,.5);
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    transition: all .15s;
    margin-top: 2px;
}
#fc-chauffeur:checked ~ .fc-check-box {
    background: var(--fc-gold);
    border-color: var(--fc-gold);
}
.fc-check-icon { display: none; font-size: 14px; color: var(--fc-navy); font-weight: 900; }
#fc-chauffeur:checked ~ .fc-check-box .fc-check-icon { display: block; }
.fc-chauf-name { display: block; font-family: 'Barlow Condensed', sans-serif; font-size: 16px; letter-spacing: 1px; }
.fc-chauf-sub  { display: block; font-size: 11px; color: rgba(255,255,255,.4); margin-top: 3px; }

/* HOURS */
.fc-hours-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}
.fc-hours-btn {
    padding: 9px 16px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    color: rgba(255,255,255,.55);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all .15s;
}
.fc-hours-btn:hover { border-color: var(--fc-gold); color: #fff; }
.fc-hours-btn.active { background: var(--fc-gold); border-color: var(--fc-gold2); color: var(--fc-navy); }

/* CALCULATE BUTTON */
.fc-calc-btn {
    width: 100%;
    padding: 16px;
    margin-top: 22px;
    background: linear-gradient(135deg, var(--fc-gold) 0%, var(--fc-gold2) 100%);
    border: none;
    border-radius: var(--fc-radius);
    color: var(--fc-navy);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity .2s, transform .1s;
    box-shadow: 0 4px 18px rgba(200,151,58,.35);
}
.fc-calc-btn:hover    { opacity: .9; transform: translateY(-1px); }
.fc-calc-btn:disabled { opacity: .6; cursor: wait; }

/* ERROR */
.fc-error {
    margin-top: 14px;
    padding: 12px 16px;
    background: rgba(180,60,60,.15);
    border: 1px solid rgba(180,60,60,.35);
    border-radius: 8px;
    font-size: 13px;
    color: #f08080;
}

/* RESULT */
.fc-result {
    margin-top: 22px;
    padding: 22px 24px;
    background: linear-gradient(135deg, rgba(46,125,82,.18) 0%, rgba(46,125,82,.06) 100%);
    border: 1px solid rgba(46,125,82,.5);
    border-radius: var(--fc-radius);
    animation: fc-fade-up .3s ease;
}
@keyframes fc-fade-up {
    from { opacity:0; transform: translateY(10px); }
    to   { opacity:1; transform: translateY(0); }
}
.fc-result-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,.45);
    margin-bottom: 4px;
}
.fc-result-price {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 54px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}
.fc-dollar { font-size: 30px; color: var(--fc-gold); }
.fc-result-breakdown {
    margin-top: 12px;
    font-size: 13px;
    color: rgba(255,255,255,.55);
    line-height: 1.8;
}
.fc-result-breakdown strong { color: rgba(255,255,255,.85); }

/* CTA BUTTONS */
.fc-cta-row {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}
.fc-btn-book,
.fc-btn-call {
    flex: 1;
    padding: 13px 10px;
    border-radius: 8px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
    text-decoration: none;
    transition: opacity .15s;
    display: block;
}
.fc-btn-book {
    background: var(--fc-gold);
    color: var(--fc-navy);
}
.fc-btn-call {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
}
.fc-btn-book:hover,
.fc-btn-call:hover { opacity: .85; }

/* DISCLAIMER */
.fc-disclaimer {
    margin-top: 16px;
    font-size: 11px;
    color: rgba(255,255,255,.28);
    text-align: center;
    line-height: 1.6;
}

.fc-loading {
    font-size: 13px;
    color: rgba(255,255,255,.4);
    padding: 8px 0;
    font-style: italic;
}

/* RESPONSIVE */
@media (max-width: 500px) {
    .fc-body   { padding: 20px 18px; }
    .fc-header { padding: 22px 18px 18px; }
    .fc-rider-grid { grid-template-columns: repeat(5, 1fr); }
    .fc-result-price { font-size: 42px; }
    .fc-cta-row { flex-direction: column; }
}
