/* General input, textarea, select style */
.form-style form input,
.form-style form textarea,
.form-style form select {
    width: 100%;
    padding: 0.5rem;
    border: 2px solid #bcbcbc;
    border-radius: 0.375rem;
    background-color: white;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

/* Focus state for input, textarea, select */
.form-style form input:focus,
.form-style form textarea:focus,
.form-style form select:focus {
    outline: none;
    border-color: #1666a3;
    box-shadow: 0 0 0 3px #165fa333;
}

/* Checkbox styling */
.form-style input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    padding: 0;
    border: 2px solid #d1d5db;
    border-radius: 0.375rem;
    background-color: white;
    cursor: pointer;
    position: relative;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: background-color 0.2s, border-color 0.2s;
}

/* Checked state */
.form-style input[type="checkbox"]:checked {
    background-color: #1666a3;
    border-color: #1666a3;
}

/* Checkmark */
.form-style input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 0.875rem;
}

/* Checkbox focus state */
.form-style input[type="checkbox"]:focus {
    outline: none;
    border-color: #1666a3;
    box-shadow: 0 0 0 3px #165fa333;
}
