/**
 * B2B & B2C Registration Forms Styles
 */

.b2b-b2c-registration-form-wrapper {
	background-color: #f5f5f5;
	padding: 20px;
	margin: 20px 0;
}

.b2b-b2c-registration-form-container {
	background-color: #ffffff;
	padding: 30px;
	max-width: 800px;
	margin: 0 auto;
	border: 1px solid #ddd;
}

.form-title {
	font-size: 24px;
	font-weight: bold;
	margin-bottom: 20px;
	color: #333;
}

.form-note {
	margin-bottom: 20px;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

.note-text {
	color: #d32f2f;
	font-size: 14px;
	margin: 0;
}

.note-text a {
	color: #d32f2f;
	text-decoration: underline;
}

.required-note {
	color: #d32f2f;
	font-size: 14px;
	margin: 0;
	text-align: right;
}

#b2b-registration-messages,
#b2c-registration-messages {
	margin-bottom: 20px;
}

.message {
	padding: 12px 15px;
	border-radius: 4px;
	margin-bottom: 10px;
}

.message.success {
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.message.error {
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

.form-section {
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 1px solid #eee;
}

.form-section:last-of-type {
	border-bottom: none;
}

.section-title {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 15px;
	color: #333;
}

.form-row {
	margin-bottom: 15px;
	display: flex;
	align-items: flex-start;
}

.form-label {
	width: 200px;
	padding-right: 15px;
	font-weight: normal;
	color: #333;
	flex-shrink: 0;
}

.form-field {
	flex: 1;
}

.form-input,
.form-select {
	width: 100%;
	padding: 8px 12px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 14px;
	box-sizing: border-box;
}

.form-input:focus,
.form-select:focus {
	outline: none;
	border-color: #0073aa;
	box-shadow: 0 0 0 1px #0073aa;
}

.required {
	color: #d32f2f;
	font-weight: bold;
}

.radio-label {
	display: inline-block;
	margin-right: 20px;
	cursor: pointer;
}

.radio-label input[type="radio"] {
	margin-right: 5px;
}

.checkbox-label {
	display: inline-block;
	cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
	margin-right: 5px;
}

.form-actions {
	text-align: right;
	margin-top: 30px;
}

.submit-button {
	background-color: #d32f2f;
	color: #ffffff;
	padding: 12px 30px;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
	transition: background-color 0.3s;
}

.submit-button:hover {
	background-color: #b71c1c;
}

.submit-button:disabled {
	background-color: #ccc;
	cursor: not-allowed;
}

/* reCAPTCHA styling */
.g-recaptcha {
	margin: 15px 0;
}

/* Responsive design */
@media (max-width: 768px) {
	.b2b-b2c-registration-form-wrapper {
		padding: 10px;
	}
	
	.b2b-b2c-registration-form-container {
		padding: 20px;
	}
	
	.form-note {
		flex-direction: column;
	}
	
	.required-note {
		text-align: left;
		margin-top: 10px;
	}
	
	.form-row {
		flex-direction: column;
	}
	
	.form-label {
		width: 100%;
		margin-bottom: 5px;
	}
	
	.form-actions {
		text-align: center;
	}
	
	.submit-button {
		width: 100%;
	}
}

