/* Formulario de Consulta — formulario público */

.fc-formulario-wrapper {
	max-width: 800px;
	margin: 0 auto;
	padding: 20px;
}

.fc-success {
	background: linear-gradient( 135deg, #d4edda 0%, #c3e6cb 100% );
	border: 1px solid #28a745;
	color: #155724;
	padding: 15px 20px;
	border-radius: 8px;
	margin-bottom: 25px;
	font-weight: 500;
	box-shadow: 0 2px 8px rgba( 40, 167, 69, .2 );
}

.fc-error {
	background: linear-gradient( 135deg, #f8d7da 0%, #f5c6cb 100% );
	border: 1px solid #dc3545;
	color: #721c24;
	padding: 15px 20px;
	border-radius: 8px;
	margin-bottom: 25px;
	font-weight: 500;
	box-shadow: 0 2px 8px rgba( 220, 53, 69, .2 );
}

.fc-form {
	background: #fff;
	padding: 30px;
	border-radius: 10px;
	box-shadow: 0 2px 15px rgba( 0, 0, 0, .1 );
}

.fc-row {
	display: flex;
	gap: 15px;
	margin-bottom: 15px;
}

.fc-col {
	flex: 1;
}

.fc-col-full {
	width: 100%;
}

.fc-form input,
.fc-form select,
.fc-form textarea {
	width: 100%;
	padding: 14px 18px;
	border: 2px solid #e0e0e0;
	border-radius: 6px;
	font-size: 15px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	transition: all .3s ease;
	background: #fafafa;
	box-sizing: border-box;
}

.fc-form input:focus,
.fc-form select:focus,
.fc-form textarea:focus {
	outline: none;
	border-color: #0073aa;
	background: #fff;
	box-shadow: 0 0 0 3px rgba( 0, 115, 170, .1 );
}

.fc-form input::placeholder,
.fc-form textarea::placeholder {
	color: #999;
}

.fc-form select {
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 15px center;
	padding-right: 40px;
}

.fc-button {
	background: linear-gradient( 135deg, #0073aa 0%, #005a87 100% );
	color: #fff;
	padding: 16px 30px;
	border: none;
	border-radius: 50px;
	cursor: pointer;
	font-size: 16px;
	font-weight: 600;
	width: 100%;
	transition: all .3s ease;
	box-shadow: 0 4px 15px rgba( 0, 115, 170, .3 );
	text-transform: uppercase;
	letter-spacing: .5px;
}

.fc-button:hover {
	background: linear-gradient( 135deg, #005a87 0%, #004368 100% );
	box-shadow: 0 6px 20px rgba( 0, 115, 170, .4 );
	transform: translateY( -2px );
}

.fc-button:active {
	transform: translateY( 0 );
	box-shadow: 0 2px 10px rgba( 0, 115, 170, .3 );
}

/* ---------- Campo trampa (honeypot): invisible para personas, ---------- */
/* visible para bots que ignoran CSS o leen el HTML crudo.        */

.fc-campo-trampa {
	position: absolute !important;
	left: -9999px !important;
	top: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* ---------- Pregunta de verificación ---------- */

.fc-row-captcha {
	margin-bottom: 20px;
}

.fc-captcha-label {
	display: block;
	margin-bottom: 8px;
	font-size: 14px;
	font-weight: 600;
	color: #444;
}

.fc-row-captcha input#fc_captcha {
	max-width: 160px;
}

@media ( max-width: 768px ) {
	.fc-row {
		flex-direction: column;
	}

	.fc-form {
		padding: 20px;
	}

	.fc-button {
		padding: 14px 30px;
		font-size: 15px;
	}
}
