/**
 * Frontend Styles for Custom Registration Fields
 */

.crf-registration-fields {
	margin: 20px 0;
}

.crf-field-wrapper {
	margin-bottom: 15px;
}

.crf-field-wrapper label {
	display: block;
	margin-bottom: 5px;
	font-weight: 600;
}

.crf-field-wrapper .required {
	color: #dc3232;
}

.crf-field-wrapper input[type="text"],
.crf-field-wrapper input[type="email"],
.crf-field-wrapper input[type="tel"],
.crf-field-wrapper input[type="number"],
.crf-field-wrapper input[type="date"],
.crf-field-wrapper select,
.crf-field-wrapper textarea {
	width: 100%;
	max-width: 400px;
	padding: 8px 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	line-height: 1.5;
}

.crf-field-wrapper textarea {
	resize: vertical;
	min-height: 80px;
}

.crf-field-wrapper .description {
	display: block;
	margin-top: 5px;
	font-size: 12px;
	color: #666;
	font-style: italic;
}

/* WooCommerce specific styles */
.woocommerce-form-register .crf-registration-fields {
	margin-top: 20px;
}

.woocommerce-form-register .crf-field-wrapper input,
.woocommerce-form-register .crf-field-wrapper textarea,
.woocommerce-form-register .crf-field-wrapper select {
	width: 100%;
}

/* Login page specific styles */
.login form .crf-registration-fields {
	margin-top: 20px;
}

.login form .crf-field-wrapper {
	margin-bottom: 15px;
}

.login form .crf-field-wrapper label {
	display: block;
	margin-bottom: 5px;
}

.login form .crf-field-wrapper input,
.login form .crf-field-wrapper textarea,
.login form .crf-field-wrapper select {
	width: 100%;
	padding: 8px;
	border: 1px solid #ddd;
	border-radius: 4px;
}

/* Frontend Dashboard Styles */
.crf-dashboard-fields {
	margin: 20px 0;
	padding: 20px;
	background: #f9f9f9;
	border: 1px solid #ddd;
	border-radius: 4px;
}

.crf-dashboard-fields h3 {
	margin-top: 0;
	margin-bottom: 15px;
	font-size: 18px;
}

.crf-dashboard-fields .woocommerce-account-fields p {
	margin: 10px 0;
	padding: 8px 0;
	border-bottom: 1px solid #eee;
}

.crf-dashboard-fields .woocommerce-account-fields p:last-child {
	border-bottom: none;
}

.crf-dashboard-fields .woocommerce-account-fields strong {
	display: inline-block;
	min-width: 150px;
	color: #333;
}

/* Frontend Edit Form Styles */
.crf-frontend-user-fields {
	margin: 20px 0;
}

.crf-frontend-user-fields h3 {
	margin-top: 20px;
	margin-bottom: 15px;
	font-size: 18px;
}

/* Image Upload Styles */
.crf-image-preview {
	margin-top: 10px;
	padding: 10px;
	background: #f9f9f9;
	border: 1px solid #ddd;
	border-radius: 4px;
}

.crf-image-preview img {
	display: block;
	margin-bottom: 10px;
}

.crf-remove-image-checkbox {
	margin-right: 5px;
}

.crf-image-preview label {
	cursor: pointer;
	font-weight: normal;
}

.crf-image-preview input[type="checkbox"]:checked + label {
	color: #dc3232;
}

/* Responsive styles */

