/**
 * The boost button and the sheet it opens.
 *
 * Built on a details element, so it opens without a script. Everything here is
 * presentation: the trigger looks like a call to action, and the open sheet sits
 * centred over the page with the rest of it dimmed.
 */

.boost-pop {
    display: inline-block;
    margin: 0.75rem 0;
}

.boost-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.1rem;
    border: 0;
    border-radius: 999px;
    background: #b45309;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.boost-trigger::-webkit-details-marker {
    display: none;
}

.boost-trigger:hover {
    background: #92400e;
}

.boost-trigger-icon {
    font-size: 0.7rem;
    line-height: 1;
}

.boost-pop[open] .boost-trigger {
    opacity: 0.35;
    pointer-events: none;
}

/* ---------- the open sheet ---------- */

.boost-sheet {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(16, 35, 28, 0.55);
}

.boost-sheet-inner {
    width: 100%;
    max-width: 30rem;
    padding: 1.5rem;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 24px 60px rgba(16, 35, 28, 0.28);
}

.boost-sheet-kicker {
    margin: 0;
    color: #b45309;
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.boost-sheet-title {
    margin: 0.2rem 0 0.5rem;
    color: #10231c;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.boost-sheet-lead {
    margin: 0 0 1.1rem;
    color: #4b5a53;
    font-size: 0.9rem;
    line-height: 1.6;
}

.boost-field {
    display: grid;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.boost-field > span {
    color: #10231c;
    font-size: 0.8rem;
    font-weight: 800;
}

.boost-field select {
    padding: 0.6rem 0.75rem;
    border: 1px solid #cdd8d3;
    border-radius: 0.6rem;
    background: #fff;
    font-size: 0.95rem;
}

.boost-lines {
    display: grid;
    gap: 0.4rem;
    margin: 0 0 1rem;
}

.boost-lines > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid #e6eeea;
}

.boost-lines > div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.boost-lines dt {
    color: #4b5a53;
    font-size: 0.82rem;
}

.boost-lines dd {
    margin: 0;
    color: #10231c;
    font-size: 0.9rem;
    font-weight: 800;
}

.boost-lines-total dd {
    font-size: 1.2rem;
}

.boost-sheet-note {
    margin: 0 0 1.1rem;
    color: #7b8a83;
    font-size: 0.8rem;
    line-height: 1.55;
}

.boost-sheet-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.boost-cancel {
    border: 0;
    background: none;
    color: #4b5a53;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}
