.cm-congreso-form {
	max-width: 640px;
	margin: 0 auto;
	font-family: inherit;
	background: #ffffff;
	border-radius: 16px;
	box-shadow: 0 4px 6px rgba(0,0,0,.04), 0 10px 30px rgba(0,0,0,.08);
	padding: 32px 36px;
	box-sizing: border-box;
}

.cm-congreso-form .cm-field {
	margin-bottom: 20px;
}

.cm-congreso-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 7px;
	color: #1d2327;
	font-size: 14px;
}

.cm-congreso-form input[type="text"],
.cm-congreso-form input[type="email"],
.cm-congreso-form input[type="tel"],
.cm-congreso-form input[type="number"],
.cm-congreso-form input[type="date"],
.cm-congreso-form select,
.cm-congreso-form textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1.5px solid #e2e4e8;
	border-radius: 10px;
	font-size: 15px;
	box-sizing: border-box;
	background: #fafbfc;
	transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.cm-congreso-form input[type="text"]:hover,
.cm-congreso-form input[type="email"]:hover,
.cm-congreso-form input[type="tel"]:hover,
.cm-congreso-form input[type="number"]:hover,
.cm-congreso-form input[type="date"]:hover,
.cm-congreso-form select:hover,
.cm-congreso-form textarea:hover {
	border-color: #c9cdd3;
}

.cm-congreso-form input[type="text"]:focus,
.cm-congreso-form input[type="email"]:focus,
.cm-congreso-form input[type="tel"]:focus,
.cm-congreso-form input[type="number"]:focus,
.cm-congreso-form input[type="date"]:focus,
.cm-congreso-form select:focus,
.cm-congreso-form textarea:focus {
	outline: none;
	border-color: #2271b1;
	background: #ffffff;
	box-shadow: 0 0 0 4px rgba(34,113,177,.12);
}

.cm-congreso-form textarea {
	resize: vertical;
	min-height: 90px;
}

.cm-congreso-form select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23646970' d='M5.5 7.5l4.5 4.5 4.5-4.5z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 40px;
}

.cm-congreso-form .cm-inline-option {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 400;
	margin: 0 16px 8px 0;
	padding: 8px 14px 8px 10px;
	border: 1.5px solid #e2e4e8;
	border-radius: 999px;
	background: #fafbfc;
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease;
}

.cm-congreso-form .cm-field-terms {
	background: #f5f8fb;
	border-radius: 10px;
	padding: 4px 6px;
}

.cm-congreso-form .cm-terms-option {
	display: flex;
	align-items: flex-start;
	width: 100%;
	border: none;
	border-radius: 0;
	background: transparent;
	padding: 10px 8px;
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: #3c434a;
}

.cm-congreso-form .cm-terms-option input {
	margin-top: 3px;
	flex-shrink: 0;
}

.cm-congreso-form .cm-terms-option a {
	color: #2271b1;
	text-decoration: underline;
}

.cm-congreso-form .cm-inline-option:hover {
	border-color: #2271b1;
	background: #f2f7fc;
}

.cm-congreso-form .cm-inline-option input {
	accent-color: #2271b1;
}

.cm-required {
	color: #c0392b;
}

.cm-form-total-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 18px 20px;
	border-radius: 12px;
	background: #f5f8fb;
	font-size: 18px;
	margin: 8px 0 24px;
}

.cm-form-total-label {
	color: #50575e;
	font-size: 14px;
	font-weight: 500;
}

.cm-form-total-value {
	font-weight: 700;
	color: #1d2327;
	font-size: 22px;
}

.cm-form-submit {
	background: linear-gradient(135deg, #2271b1, #1a5a8f);
	color: #fff;
	border: none;
	padding: 15px 28px;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	width: 100%;
	box-shadow: 0 6px 16px rgba(34,113,177,.28);
	transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.cm-form-submit:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(34,113,177,.36);
}

.cm-form-submit:active {
	transform: translateY(0);
}

.cm-form-submit:disabled {
	opacity: .6;
	cursor: default;
	transform: none;
	box-shadow: none;
}

.cm-form-messages {
	margin-bottom: 18px;
	padding: 12px 16px;
	border-radius: 10px;
	font-size: 14px;
}

.cm-form-messages.cm-error {
	background: #fdeeec;
	color: #8a1f11;
	border: 1px solid #f6cbc3;
}

.cm-confirmacion {
	max-width: 640px;
	margin: 0 auto;
	background: #ffffff;
	border-radius: 16px;
	box-shadow: 0 4px 6px rgba(0,0,0,.04), 0 10px 30px rgba(0,0,0,.08);
	padding: 40px 36px;
	text-align: center;
}

.cm-confirmacion .cm-status-ok { color: #0a5c2b; font-size: 18px; font-weight: 500; }
.cm-confirmacion .cm-status-ko { color: #8a1f11; font-size: 18px; font-weight: 500; }
.cm-confirmacion .cm-status-pending { color: #996800; font-size: 18px; font-weight: 500; }

@media (max-width: 600px) {
	.cm-congreso-form,
	.cm-confirmacion {
		padding: 24px 20px;
		border-radius: 14px;
	}
}
