/**
 * CDOQ Form Customizer Styles
 */

/* Input error state */
.ihc-input-error {
	border-color: #d63638 !important;
}

.cdoq-doc-validation-error {
	color: #d63638;
	font-size: 12px;
	margin-top: 4px;
}

/* Deporte "Otro" text field */
.cdoq-deporte-otro-wrap {
	margin-top: 5px;
}

.cdoq-deporte-otro-wrap input {
	width: 100%;
	padding: 6px 10px;
}

/* Form header styling */
.cdoq-form-header {
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 2px solid #e0e0e0;
}

.cdoq-form-header h2 {
	font-size: 24px;
	margin-bottom: 8px;
	color: #1d2327;
}

.cdoq-form-subtitle {
	font-size: 14px;
	color: #666;
}

.cdoq-form-subtitle a {
	color: #0073aa;
}

/* RGPD section — checkbox + continuous text */
.cdoq-legal-label {
	display: flex !important;
	gap: 10px;
	align-items: flex-start;
	font-size: 13px;
	line-height: 1.6;
}

/* Aval templates section */
.cdoq-aval-info {
	background: #f0f6fc;
	border-left: 4px solid #72aee6;
	padding: 15px;
	margin: 15px 0;
}

.cdoq-aval-description p {
	margin: 0 0 10px;
	font-size: 14px;
	line-height: 1.5;
}

.cdoq-template-links {
	font-size: 13px;
}

.cdoq-template-link {
	display: inline-block;
	margin: 4px 0;
	padding: 4px 8px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 3px;
	text-decoration: none;
	color: #0073aa;
}

.cdoq-template-link:hover {
	background: #f0f0f0;
	border-color: #999;
}

/* Section headers within the registration form */
.cdoq-section-header {
	margin-top: 30px;
	margin-bottom: 10px;
	padding-bottom: 8px;
	border-bottom: 1px solid #ddd;
}

.cdoq-section-header h3 {
	font-size: 18px;
	margin: 0;
	color: #1d2327;
}

/* Hide redundant UMP labels on plain_text section header fields */
.iump-form-plain_text > .iump-labels-register {
	display: none;
}

/* Center membership level tiles and equalize heights */
.ich_level_wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
}

.ihc-level-item {
	display: flex !important;
}

.ihc-level-item-wrap {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.ihc-level-item-content {
	flex: 1;
}

/* Hide the "Bank Transfer details will be shown after payment complete" notice.
   The user has already uploaded the transfer receipt in the form above. */
#ihc_bank_transfer_message {
	display: none !important;
}

