/*
 * public/get-emailed/get-emailed.css
 * Styles for the Get Events by Email page only: the name row and the "how often"
 * choices. Shared form styles live in /parts/form-page.css.
 */

.etw-name-row {
    display: grid;
    gap: 12px;
}

@media (min-width: 600px) {
    .etw-name-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* ---- How often: three big choices ---- */
.etw-freq-list {
    display: grid;
    gap: 12px;
}

.etw-freq-option {
    position: relative;
    display: block;
    padding: 18px 20px 18px 54px;
    border: 2px solid var(--c-ink);
    border-radius: 16px;
    background: var(--c-white);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.etw-freq-option:hover {
    background: var(--c-tan-light);
}

.etw-freq-option input {
    position: absolute;
    left: 20px;
    top: 21px;
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: var(--c-ink);
}

.etw-freq-option:has(input:checked) {
    border-color: var(--c-gold);
    background: var(--c-tan-light);
    box-shadow: 0 0 0 2px var(--c-gold);
}

.etw-freq-name {
    display: block;
    font-weight: 700;
    font-size: 17px;
}

.etw-freq-desc {
    display: block;
    margin-top: 4px;
    color: var(--c-muted);
    font-size: 14px;
}

/* Category pills, shown only for "every event I care about" */
.etw-freq-categories {
    margin-top: 20px;
}

.etw-freq-categories-title {
    font-weight: 700;
    margin: 0 0 12px;
}

/* ---- Under the button ---- */
#formHint {
    text-align: center;
    margin: 0 0 12px;
}

.etw-signup-note {
    margin-top: 14px;
    text-align: center;
    color: var(--c-muted);
    font-size: 13px;
}

/* The sign-up button is gold like the button on the home page */
.etw-submit-btn {
    background: var(--etw-gold-gradient);
    border-color: var(--c-gold);
    color: var(--c-gold-text);
}

.etw-submit-btn:hover {
    background: var(--etw-gold-gradient);
    color: var(--c-gold-text);
    filter: brightness(1.06);
}
