/* Amount Section styles */
/* General accessible focus style for page */
:root {
    --focus-outline-color: #1a1a1a;
    --focus-outline-width: 3px;
    --focus-outline-offset: 3px;
}

.amount-option input[type='radio'] {
    display: block;
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
}

#otherAmtBtn {
    display: none;
}

/* Show focus around the whole amount button group when a preset amount has focus */
#amtInputList:focus-within {
    outline: var(--focus-outline-width) solid var(--focus-outline-color);
    outline-offset: var(--focus-outline-offset);
    border-radius: 2px;
}

/* Show focus on the visible preset amount labels */
.amount-option input[type='radio']:focus+label.radioLabel,
.amount-option input[type='radio']:focus-visible+label.radioLabel {
    outline: var(--focus-outline-width) solid var(--focus-outline-color);
    outline-offset: var(--focus-outline-offset);
}

/* Show focus around the whole Other Amount row */
#otherAmtLabel:focus-within {
    outline: var(--focus-outline-width) solid var(--focus-outline-color);
    outline-offset: var(--focus-outline-offset);
    border-radius: 2px;
}

/* Give the actual Other Amount input a visible focus style too */
#otherAmtInput:focus,
#otherAmtInput:focus-visible {
    outline: var(--focus-outline-width) solid var(--focus-outline-color);
    outline-offset: 0;
    border-color: var(--focus-outline-color);
    background-color: white;
}