/**
 * VEP — estilos públicos del flujo de votación.
 *
 * @package GobernacionNarino\VEP
 */

.vep-voter {
	max-width: 720px;
	margin: 24px auto;
	font-family: Arial, Helvetica, sans-serif;
	color: #1d2327;
}

.vep-voter * { box-sizing: border-box; }

.vep-voter-card {
	background: #fff;
	border: 1px solid #d8dde3;
	border-radius: 12px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
	overflow: hidden;
}

.vep-voter-head {
	background: linear-gradient(135deg, #1a5276, #003087);
	color: #fff;
	padding: 22px 26px;
}

.vep-voter-head h2 {
	margin: 0;
	font-size: 22px;
	color: #fff;
}

.vep-voter-head p {
	margin: 6px 0 0;
	opacity: .9;
	font-size: 14px;
}

.vep-voter-body { padding: 24px 26px; }

.vep-field { margin-bottom: 16px; }

.vep-field label {
	display: block;
	font-weight: 700;
	margin-bottom: 6px;
}

.vep-field input[type="text"],
.vep-field input[type="number"],
.vep-field select {
	width: 100%;
	padding: 11px 12px;
	border: 1px solid #c3c9d0;
	border-radius: 8px;
	font-size: 16px;
}

.vep-btn {
	display: inline-block;
	background: #1a5276;
	color: #fff;
	border: 0;
	border-radius: 8px;
	padding: 12px 20px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
}

.vep-btn:hover { background: #003087; }

.vep-btn--ghost {
	background: #fff;
	color: #1a5276;
	border: 1px solid #1a5276;
}

.vep-notice {
	padding: 12px 16px;
	border-radius: 8px;
	margin-bottom: 18px;
	font-size: 14px;
}

.vep-notice--info { background: #eaf2f8; color: #003087; }
.vep-notice--ok   { background: #e6f4ea; color: #1e7e34; }
.vep-notice--err  { background: #fbeaea; color: #b32d2e; }

/* Papeleta */
.vep-ballot {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 14px;
}

.vep-ballot li { margin: 0; }

.vep-choice {
	display: block;
	border: 2px solid #d8dde3;
	border-radius: 12px;
	padding: 16px;
	text-align: center;
	cursor: pointer;
	transition: border-color .12s ease, box-shadow .12s ease;
	height: 100%;
}

.vep-choice:hover { border-color: #1a5276; }

.vep-choice input { display: none; }

.vep-choice input:checked + .vep-choice-inner {
	color: #003087;
}

.vep-choice input:checked ~ .vep-choice-mark { display: block; }

.vep-choice.is-selected {
	border-color: #1a5276;
	box-shadow: 0 0 0 3px rgba(26, 82, 118, .15);
}

.vep-choice-photo {
	width: 84px;
	height: 84px;
	border-radius: 50%;
	object-fit: cover;
	margin: 0 auto 10px;
	display: block;
	background: #f1f3f5;
}

.vep-choice-initials {
	width: 84px;
	height: 84px;
	border-radius: 50%;
	margin: 0 auto 10px;
	background: #1a5276;
	color: #fff;
	font-size: 30px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	text-transform: uppercase;
}

.vep-choice-name { font-weight: 700; display: block; }
.vep-choice-org { font-size: 13px; color: #50575e; display: block; margin-top: 2px; }

.vep-confirm-box {
	text-align: center;
	padding: 10px 0 4px;
}

.vep-check {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: #e6f4ea;
	color: #1e7e34;
	font-size: 40px;
	line-height: 72px;
	margin: 0 auto 14px;
}

.vep-hash {
	font-family: Consolas, monospace;
	font-size: 12px;
	color: #50575e;
	word-break: break-all;
	background: #f5f7fa;
	border-radius: 6px;
	padding: 8px 10px;
	margin-top: 10px;
}

/* Voto en blanco como opción de la papeleta */
.vep-choice--blank .vep-choice-initials { background: #6b7280; }

/* Bloque de código de prueba (solo modo pruebas) */
.vep-test-code {
	border: 2px dashed #E8A020;
	background: #fff8ec;
	border-radius: 10px;
	padding: 14px 16px;
	margin-bottom: 18px;
	text-align: center;
}
.vep-test-code__label { font-size: 13px; color: #8a5e07; margin-top: 6px; }
.vep-test-code__value {
	font-family: Consolas, monospace;
	font-size: 32px;
	font-weight: 700;
	letter-spacing: 6px;
	color: #003087;
	margin: 4px 0;
}
.vep-test-code__note { font-size: 12px; color: #8a5e07; }
