/* Formulario unificado de talleres — Convergencia Comercial */

.cc-taller-form-wrap {
	--cc-azul: #2A6FDA;
	--cc-cian: #3DA9C9;
	--cc-naranja: #FFA310;
	--cc-error: #C62828;
	--cc-ok: #2E7D32;
	--cc-borde: #D5DCE6;

	max-width: 560px;
	margin: 0 auto;
}

.cc-taller-form {
	background: #fff;
	border: 1px solid var(--cc-borde);
	border-radius: 12px;
	padding: 1.75rem;
}

.cc-form-intro {
	margin: 0 0 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 2px solid var(--cc-cian);
	font-size: 0.95rem;
	line-height: 1.5;
}

.cc-campo {
	margin-bottom: 1.15rem;
}

.cc-campo label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 600;
	font-size: 0.9rem;
	color: #1F2937;
}

.cc-campo input,
.cc-campo select {
	width: 100%;
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--cc-borde);
	border-radius: 8px;
	font-size: 1rem;
	background: #fff;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.cc-campo input:focus,
.cc-campo select:focus {
	outline: none;
	border-color: var(--cc-azul);
	box-shadow: 0 0 0 3px rgba( 42, 111, 218, 0.15 );
}

.cc-campo.cc-con-error input {
	border-color: var(--cc-error);
}

/* Celular con prefijo fijo */

.cc-tel {
	display: flex;
	align-items: stretch;
}

.cc-tel-prefijo {
	display: flex;
	align-items: center;
	padding: 0 0.75rem;
	background: #F4F6F9;
	border: 1px solid var(--cc-borde);
	border-right: none;
	border-radius: 8px 0 0 8px;
	font-size: 0.95rem;
	color: #50575E;
	white-space: nowrap;
}

.cc-tel input {
	border-radius: 0 8px 8px 0;
	letter-spacing: 0.03em;
}

.cc-campo.cc-con-error .cc-tel-prefijo {
	border-color: var(--cc-error);
}

.cc-hint {
	display: block;
	margin-top: 0.3rem;
	font-size: 0.82rem;
	color: #646970;
}

/* Palabra clave como radios */

.cc-label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 600;
	font-size: 0.9rem;
	color: #1F2937;
}

.cc-radios {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.cc-radio {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.65rem 0.85rem;
	border: 1px solid var(--cc-borde);
	border-radius: 8px;
	cursor: pointer;
	font-weight: 400;
	margin: 0;
	transition: border-color 0.15s, background 0.15s;
}

.cc-radio:hover {
	border-color: var(--cc-cian);
	background: #FAFCFE;
}

.cc-radio input {
	width: auto;
	margin: 0;
	accent-color: var(--cc-azul);
	flex: 0 0 auto;
}

.cc-radio:has( input:checked ) {
	border-color: var(--cc-azul);
	background: #F2F7FE;
}

.cc-campo.cc-con-error .cc-radio {
	border-color: var(--cc-error);
}

.cc-msg {
	display: block;
	margin-top: 0.3rem;
	font-size: 0.82rem;
	line-height: 1.35;
}

.cc-msg-error {
	color: var(--cc-error);
}

/* Aviso: no bloquea, solo sugiere revisar. */
.cc-msg-aviso {
	color: #9A6700;
}

.cc-submit {
	width: 100%;
	padding: 0.85rem 1rem;
	background: var(--cc-azul);
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s;
}

.cc-submit:hover:not(:disabled) {
	background: #1F58B0;
}

.cc-submit:disabled {
	opacity: 0.6;
	cursor: default;
}

.cc-form-resultado {
	margin-top: 1rem;
	font-size: 0.92rem;
	line-height: 1.5;
}

.cc-form-resultado:empty {
	display: none;
}

.cc-resultado-ok {
	padding: 0.85rem 1rem;
	background: #EAF6EC;
	border-left: 4px solid var(--cc-ok);
	border-radius: 4px;
	color: #1B5E20;
}

.cc-resultado-error {
	padding: 0.85rem 1rem;
	background: #FDECEA;
	border-left: 4px solid var(--cc-error);
	border-radius: 4px;
	color: #8E1B15;
}

.cc-form-error,
.cc-form-cerrado {
	padding: 1rem;
	background: #F4F6F9;
	border-left: 4px solid var(--cc-naranja);
	border-radius: 4px;
}
