/* app.css — Blind Date App
   Palette of the original spec: soft coral / petrol blue / cream / dark grey. */
:root {
    --coral: #FF6B6B;
    --teal: #4ECDC4;
    --cream: #F7FFF7;
    --dark: #292F36;
    --urgent-orange: #FF9F43;
    --success-green: #10AC84;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Poppins', system-ui, sans-serif;
    background: var(--cream);
    color: var(--dark);
}

.landing {
    max-width: 960px;
    margin: 0 auto;
    padding: 24px 16px 48px;
    text-align: center;
}

.landing h1 {
    color: var(--coral);
    font-size: 2rem;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 24px;
    text-align: left;
}

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

.city-card h2 {
    margin-top: 0;
    color: var(--dark);
}

.slot-counters {
    display: flex;
    gap: 12px;
    margin: 12px 0;
}

.slot-counter {
    flex: 1;
    border-radius: 12px;
    padding: 10px;
    text-align: center;
}

.slot-counter--f { background: rgba(255, 107, 107, 0.12); }
.slot-counter--m { background: rgba(78, 205, 196, 0.12); }

.slot-counter .label {
    display: block;
    font-size: 0.75rem;
    opacity: 0.7;
}

.slot-counter .count {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
}

.cta {
    display: inline-block;
    margin-top: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--coral);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.request-city {
    margin-top: 32px;
    font-size: 0.9rem;
}

.request-city a {
    color: var(--teal);
}

.offline-page {
    max-width: 480px;
    margin: 80px auto;
    text-align: center;
    padding: 0 16px;
}

/* Checkbox + text (with or without a link) aligned in a row, without breaking the
   text/link into separate flex boxes -- see finding 2026-09-16: turning
   the <label> itself into a flex container makes EACH text node and each
   <a> become independent flex items, losing the normal text flow between them
   (it looks split/misaligned). The checkbox is a flex
   item; all the text (even if it includes an <a>) goes in ONE <span>, which can
   wrap its content normally. */
.checkbox-row {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin: 14px 0;
    font-weight: normal;
}
.checkbox-row input[type="checkbox"],
.checkbox-row input[type="radio"] {
    flex-shrink: 0;
    margin-top: 3px;
    width: auto;
}
.checkbox-row span {
    flex: 1;
}
