/**
 * Radio and Checkbox Field Styling
 * 
 * Ensures layout settings (vertical/horizontal) are properly rendered
 */

/* Radio Group Layout - Base */
.cofld-radio-group {
	border: none !important;
	padding: 0 !important;
	margin: 0 !important;
	display: flex !important;
	gap: 8px;
}

.cofld-radio-group label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	cursor: pointer;
	font-weight: normal;
}

.cofld-radio-group input[type="radio"] {
	margin: 0;
	cursor: pointer;
	flex-shrink: 0;
}

/* Radio Vertical Layout (default) */
.cofld-radio-vertical {
	flex-direction: column !important;
}

/* Radio Horizontal Layout */
.cofld-radio-horizontal {
	flex-direction: row !important;
	flex-wrap: wrap;
}

.cofld-radio-horizontal label {
	margin-right: 16px;
}

/* Checkbox Group Layout - Base */
.cofld-checkbox-group {
	border: none !important;
	padding: 0 !important;
	margin: 0 !important;
	display: flex !important;
	gap: 8px;
}

.cofld-checkbox-group label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	cursor: pointer;
	font-weight: normal;
}

.cofld-checkbox-group input[type="checkbox"] {
	margin: 0;
	cursor: pointer;
	flex-shrink: 0;
}

/* Checkbox Vertical Layout (default) */
.cofld-checkbox-vertical {
	flex-direction: column !important;
}

/* Checkbox Horizontal Layout */
.cofld-checkbox-horizontal {
	flex-direction: row !important;
	flex-wrap: wrap;
}

.cofld-checkbox-horizontal label {
	margin-right: 16px;
}

.cofld-checkbox-group label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	cursor: pointer;
	font-weight: normal;
}

.cofld-checkbox-group input[type="checkbox"] {
	margin: 0;
	cursor: pointer;
	flex-shrink: 0;
}

/* Horizontal layout */
.cofld-checkbox-horizontal {
	flex-direction: row;
	flex-wrap: wrap;
}

.cofld-checkbox-horizontal label {
	margin-right: 16px;
}
