/* Checkbox and Radio Button Components - Extracted from registration.html inline styles */

/* Modern checkbox and radio styling */
.check-element {
    display: flex;
    align-items: center;
    gap: 0.35rem; /* reduced gap between control and text */
    margin-bottom: 0.5rem;
    padding: 0; /* remove inner padding to tighten layout */
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.check-element:hover {
    background-color: rgba(255, 110, 49, 0.05);
}

.check-element input[type="checkbox"],
.check-element input[type="radio"] {
    width: 20px;
    height: 20px;
    margin: 0;
    appearance: none;
    border: 2px solid var(--bk-border-gray);
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.check-element input[type="checkbox"] {
    border-radius: 4px;
}

.check-element input[type="radio"] {
    border-radius: 50%;
    position: relative;
}

.check-element input[type="checkbox"]:checked,
.check-element input[type="radio"]:checked {
    background-color: var(--bk-primary-orange);
    border-color: var(--bk-primary-orange);
}

.check-element input[type="checkbox"]:checked::after {
    content: '✓';
    display: block;
    color: white;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    line-height: 16px;
}

.check-element input[type="radio"]:checked::after {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.check-element input[type="checkbox"]:focus,
.check-element input[type="radio"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 110, 49, 0.2);
}

.check-element label {
    cursor: pointer;
    line-height: 1.4;
    font-size: 0.95rem;
    color: var(--bk-dark-gray);
}