/* LL2 0.6.334 — PollNominationUx companion styles.
 *
 * Loaded only on a season poll currently in its Nominations
 * phase (PollNominationUx::enqueue). Styles the type-ahead
 * suggestion list rendered into the form's existing results
 * container and the verify-your-submission modal. Brand family
 * with the 0.6.331 nomination presentation: green #127044;
 * the modal's alert red #b42318 mirrors LL1's vote-form
 * confirmation card.
 */

/* --- Type-ahead suggestions (in-flow, like LL1's vote form) --- */

.ll2-poll-season__results .ll2-nom-ux-suggest {
    margin: 8px 0 4px;
    border: 1px solid #d7e5dc;
    border-radius: 10px;
    background: #ffffff;
    overflow: hidden;
}

.ll2-poll-season__results .ll2-nom-ux-suggest__heading {
    margin: 0;
    padding: 8px 12px 4px;
    font-size: 0.85em;
    font-weight: 600;
    color: #127044;
}

.ll2-poll-season__results .ll2-nom-ux-suggest__item {
    display: block;
    width: 100%;
    padding: 8px 12px;
    border: 0;
    border-top: 1px solid #eef3f0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    font: inherit;
    color: inherit;
}

.ll2-poll-season__results .ll2-nom-ux-suggest__item:hover,
.ll2-poll-season__results .ll2-nom-ux-suggest__item.is-active {
    background: #eef7f1;
}

.ll2-poll-season__results .ll2-nom-ux-suggest__name {
    display: block;
    font-weight: 700;
}

.ll2-poll-season__results .ll2-nom-ux-suggest__addr {
    display: block;
    font-size: 0.88em;
    opacity: 0.75;
}

.ll2-poll-season__results .ll2-nom-ux-notice {
    margin: 8px 0 4px;
    font-size: 0.92em;
}

/* --- Verify-your-submission modal --- */

.ll2-nom-ux-modal {
    position: fixed;
    inset: 0;
    z-index: 99990;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(17, 24, 20, 0.55);
}

.ll2-nom-ux-modal__card {
    position: relative;
    max-width: 520px;
    width: 100%;
    max-height: calc(100vh - 32px);
    overflow: auto;
    background: #ffffff;
    border-radius: 14px;
    padding: 26px 26px 20px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
    color: #1c2b23;
}

.ll2-nom-ux-modal__title {
    margin: 0 32px 12px 0;
    font-size: 1.25em;
    line-height: 1.3;
}

.ll2-nom-ux-modal__alert {
    color: #b42318;
}

.ll2-nom-ux-modal__lead {
    margin: 0 0 10px;
    line-height: 1.5;
}

.ll2-nom-ux-modal__note {
    margin: 0 0 10px;
    line-height: 1.5;
    font-size: 0.95em;
}

.ll2-nom-ux-modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: 0;
    background: transparent;
    font-size: 1.6em;
    line-height: 1;
    cursor: pointer;
    color: inherit;
    padding: 4px 8px;
}

.ll2-nom-ux-modal__actions {
    margin-top: 14px;
    text-align: right;
}

.ll2-nom-ux-modal__ok {
    border: 0;
    border-radius: 8px;
    background: #127044;
    color: #ffffff;
    font: inherit;
    font-weight: 700;
    padding: 10px 22px;
    cursor: pointer;
}
