/* Dive-only booking page (dive.html) — layered on style.css. Mobile-first: links arrive via WhatsApp. */

.dive-intro,
.dive-hint {
    color: rgba(240, 248, 255, 0.8);
    margin: 0.25rem 0 1rem;
}

/* style.css sets explicit display values (e.g. label { display: block }), which would beat the
   [hidden] attribute's UA rule — make hidden win on this page. */
#app [hidden] {
    display: none !important;
}

/* The base stylesheet makes every input 100% wide — undo that for radios/checkboxes here. */
#app input[type="radio"],
#app input[type="checkbox"] {
    -webkit-appearance: auto;
    appearance: auto;
    width: 1.15rem;
    height: 1.15rem;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    accent-color: #33bbff;
}

/* Keep amounts on one line; long item names wrap instead. */
#app .summary-value {
    white-space: nowrap;
    flex-shrink: 0;
    padding-left: 0.75rem;
}

/* Native <option> lists render on a light background; keep the text readable. */
#app option {
    color: #001f3f;
}

.dive-choice {
    border: 0;
    padding: 0;
    margin: 0 0 1rem;
    display: grid;
    gap: 0.75rem;
}

.dive-choice legend {
    font-weight: bold;
    margin-bottom: 0.5rem;
    padding: 0;
}

.dive-choice__opt {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(51, 187, 255, 0.5);
    border-radius: 6px;
    cursor: pointer;
    background: rgba(240, 248, 255, 0.05);
}

.dive-choice__opt:has(input:checked) {
    border-color: #33bbff;
    background: rgba(51, 187, 255, 0.15);
}

.dive-choice__opt span {
    display: flex;
    flex-direction: column;
}

.dive-choice__opt small {
    color: rgba(240, 248, 255, 0.75);
}

.dive-diver {
    border: 1px solid rgba(51, 187, 255, 0.35);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-bottom: 0.75rem;
    background: rgba(240, 248, 255, 0.04);
}

.dive-diver__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Small text-style button (e.g. "Remove"). */
#app .dive-link {
    width: auto;
    margin: 0;
    padding: 0.25rem 0.5rem;
    background: transparent;
    color: #99ddff;
    font-weight: normal;
    text-decoration: underline;
}

#app .dive-secondary {
    background: transparent;
    color: #99ddff;
    border: 1px dashed rgba(51, 187, 255, 0.6);
}

#app .dive-secondary:hover {
    background: rgba(51, 187, 255, 0.1);
}

.dive-error {
    color: #ffb3b3;
}

.dive-error ul {
    margin: 0.75rem 0 0;
    padding-left: 1.2rem;
}

/* Honeypot — present for bots, invisible and unreachable for people. */
.dive-hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.dive-nav--end {
    justify-content: flex-end;
}

.dive-list {
    margin: 0;
    padding-left: 1.2rem;
}

.dive-terms p {
    color: rgba(240, 248, 255, 0.85);
}

.dive-check {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-weight: bold;
}

.dive-check input {
    margin-top: 0.3rem !important;
}

.dive-done-lead {
    font-size: 1.15rem;
}

@media (max-width: 600px) {
    main {
        margin: 0.75rem auto;
        padding: 1rem;
    }
}
