/* Extra payment calculator styles */

.calc-page .card {
    margin-top: 16px;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.skip-link:focus {
    position: static;
    width: auto;
    height: auto;
    padding: 8px 12px;
    background: #111827;
    color: #f9fafb;
    border-radius: 8px;
}

.lede {
    color: #374151;
    font-size: 1.05rem;
    margin: 6px 0 10px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.pair-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

@media (max-width: 700px) {
    .pair-grid {
        grid-template-columns: 1fr;
    }
}

.field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.field input,
.field select {
    width: 100%;
    margin-bottom: 1px;
}

.warn {
    color: #b91c1c;
    font-size: 0.9rem;
    margin-top: 1px;
    margin-bottom: 1px;
    min-height: 0;
}

.hidden {
    display: none !important;
}

.actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 8px;
}

.select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #f9fafb url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 10px center;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding-right: 36px;
}

.results-table {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 14px;
    align-items: baseline;
}

.results-table .k {
    color: #6b7280;
    font-size: 0.95rem;
}

.results-table .v {
    font-weight: 700;
    font-size: 1.05rem;
    text-align: right;
}

.results-table .v.strong {
    font-weight: 900;
}

.rt-row {
    display: contents;
}

.rt-sep {
    grid-column: 1 / -1;
    height: 1px;
    background: rgba(0, 0, 0, 0.08);
    margin: 6px 0;
}

.warnblock {
    margin-top: 10px;
    color: #7f1d1d;
}
