/* =============================================================================
   /rides/assets/css/app.css
   CartDispatch rider app — mobile-first, consumer-facing, brand-forward.
   Brand colors match main site (kelly green #014421 + slight pink accents).
   ============================================================================= */

:root {
    --green:    #014421;
    --green-2:  #003d1f;
    --green-3:  #002d1a;
    --green-tint: #f0f7f3;
    --black:    #0a0a0a;
    --white:    #ffffff;
    --grey:     #d3d3d3;
    --granite:  #676767;
    --muted:    #f7f7f9;
    --pink:     #f7c4d4;
    --pink-deep:#d65a8f;
    --danger:   #c0392b;
    --success:  #1b7a3c;
    --warn:     #b07b18;
    --radius:   12px;
    --radius-sm: 8px;
    --shadow:   0 4px 20px rgba(0, 0, 0, 0.06);
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--muted);
    color: var(--black);
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
    overscroll-behavior: contain;
}

/* --------- Brand wordmark --------- */
.wordmark {
    text-align: center;
    letter-spacing: 0.5px;
    line-height: 1.05;
    user-select: none;
}
.wordmark .w-the     { font-weight: 800; color: var(--black);      font-size: 1.1rem; }
.wordmark .w-golf    { font-weight: 800; color: var(--green);      font-size: 1.1rem; }
.wordmark .w-girl    { font-family: "Brush Script MT", "Lucida Handwriting", cursive; color: var(--pink-deep); font-size: 1.7rem; font-style: italic; }
.wordmark .w-cle     { font-weight: 700; color: var(--black);      font-size: 1rem; }
.wordmark .w-em      { color: var(--granite);                       font-weight: 400; }
.wordmark.large .w-the,
.wordmark.large .w-golf,
.wordmark.large .w-cle  { font-size: 1.4rem; }
.wordmark.large .w-girl { font-size: 2.2rem; }

/* --------- Layout shell --------- */
.app-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Landing page is full-bleed and centered */
.landing {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 20px 48px;
    background: linear-gradient(180deg, var(--muted) 0%, #ebebee 100%);
    text-align: center;
}
.landing-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 32px 24px 28px;
    width: 100%;
    max-width: 440px;
}

/* Hero icon */
.hero-icon {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 12px;
}

/* Status messages */
.status-line {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--green);
    margin: 12px 0 6px;
    line-height: 1.2;
}
.status-line.muted { color: var(--granite); }

.status-sub {
    color: var(--granite);
    font-size: 0.95rem;
    margin: 0 0 24px;
    line-height: 1.5;
}

.event-pill {
    display: inline-block;
    background: var(--green-tint);
    color: var(--green-2);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 8px 0 4px;
    letter-spacing: 0.3px;
}

.event-meta {
    color: var(--granite);
    font-size: 0.85rem;
    margin-top: 4px;
}

/* --------- Buttons --------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 17px 20px;
    font-size: 1.05rem;
    font-weight: 700;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: background-color 0.15s, transform 0.05s;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
    background: var(--green);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(1, 68, 33, 0.2);
}
.btn-primary:hover { background: var(--green-2); }
.btn-secondary {
    background: var(--white);
    color: var(--green-2);
    border: 1.5px solid var(--green);
}

/* --------- Trust badges (under the CTA) --------- */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
    color: var(--granite);
    font-size: 0.78rem;
    letter-spacing: 0.4px;
}
.trust-badges span { display: inline-flex; align-items: center; gap: 4px; }
.trust-dot {
    display: inline-block;
    width: 4px; height: 4px; border-radius: 50%;
    background: var(--grey);
    margin: 0 4px;
}

/* --------- Footer --------- */
.app-footer {
    text-align: center;
    color: var(--granite);
    font-size: 0.72rem;
    padding: 20px 16px;
    line-height: 1.5;
}
.app-footer .footer-brand {
    color: var(--green-2);
    font-weight: 600;
    text-decoration: none;
}

/* --------- Alerts (used on later screens) --------- */
.alert {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    margin-bottom: 16px;
    line-height: 1.4;
}
.alert-info    { background: #e8f0ec; color: var(--green-2); border: 1px solid #bed3c4; }
.alert-warn    { background: #fff4d6; color: var(--warn);    border: 1px solid #f0d99e; }
.alert-danger  { background: #fdecea; color: var(--danger);  border: 1px solid #f5c6c0; }

/* --------- Small-phone tweaks --------- */
@media (max-width: 360px) {
    .landing { padding: 24px 14px 32px; }
    .landing-card { padding: 24px 18px; }
    .status-line { font-size: 1.25rem; }
    .wordmark.large .w-the,
    .wordmark.large .w-golf,
    .wordmark.large .w-cle  { font-size: 1.25rem; }
    .wordmark.large .w-girl { font-size: 1.95rem; }
}
