@import url('./global.css');


h3 {
    margin-bottom: 10px;
}

form {
    display: flex;
    flex-direction: column;
}

/* Basic styling for the container */
.settings-group {
    margin-bottom: 10px;
    font-family: sans-serif;
}

fieldset {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

/* .handicap-fieldset{
    justify-content: space-between;
} */

/* The Legend acts as the label for the whole group */
legend {
    /* font-weight: bold; */
    display: block;
    font-size: 1.1rem;
}

/* Hide the actual radio circle visually, but keep it accessible */
.selector-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.handicap-input {
    width: 21px;
    padding: 5px;
    margin-left: 5px;
}

.handicap-label {
    font-weight: bold;
}

/* Style the label to look like a button */
.selector-label {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    border: 2px solid #ccc;
    border-radius: 6px;
    cursor: pointer;
    margin-right: 5px;
    transition: all 0.2s;
    width: 100%;
    background: #f9f9f9;
    color: #333;
}

/* Hover state */
.selector-label:hover {
    background: #e0e0e0;
}

/* Focus state: Crucial for keyboard users */
.selector-input:focus + .selector-label {
    outline: 3px solid #005fcc;
    outline-offset: 2px;
    border-color: #005fcc;
}

/* Selected state */
.selector-input:checked + .selector-label {
    background: #005fcc;
    color: white;
    border-color: #005fcc;
    font-weight: bold;
}

/* Start Button Styling */
.start-btn {
    padding: 12px 24px;
    font-size: 1rem;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}
.start-btn:focus {
    outline: 3px solid #005fcc;
    outline-offset: 2px;
}