/* Shared by links, buttons and submit inputs. Page styles should only adjust
   layout or deliberate variants, rather than redefining the base button. */
.btn {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin: 0;
    padding: 5px 12px;
    font-family: inherit;
    font-size: 14px;
    font-weight: bold;
    line-height: 20px;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border: 1px solid #a9dcf8;
    border-radius: 6px;
    box-shadow: none;
    transition: background-color 0.2s;
    cursor: pointer;
}

a.btn,
a.btn:visited {
    color: white;
}

.btn:hover {
    background-color: #2980b9;
}

.btn:focus-visible {
    outline: 3px solid rgba(52, 152, 219, 0.28);
    outline-offset: 2px;
}

.btn:disabled {
    color: lightgrey;
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}
