#mdv-donde-voto {
	--mdv-primary: #003087;
	--mdv-primary-dark: #001f5c;
	--mdv-error: #cd4141;
	--mdv-ok: #0f8a45;
	font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
	max-width: 480px;
	margin: 2rem auto;
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 10px 40px rgba(0, 48, 135, 0.12);
	padding: 2rem 1.75rem;
	box-sizing: border-box;
}

#mdv-donde-voto * {
	box-sizing: border-box;
}

.mdv-header {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}

.mdv-badge {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border-radius: 999px;
	background: var(--mdv-primary);
	color: #fff;
	font-weight: 900;
	font-size: 0.85rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mdv-title {
	margin: 0;
	font-weight: 900;
	font-size: 1.25rem;
	color: var(--mdv-primary);
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.mdv-subtitle {
	margin: 0.15rem 0 0;
	font-size: 0.75rem;
	color: #64748b;
	font-weight: 500;
}

.mdv-label {
	display: block;
	font-size: 0.8rem;
	font-weight: 700;
	color: #1e293b;
	margin-bottom: 0.4rem;
}

.mdv-input {
	width: 100%;
	font-size: 1.1rem;
	padding: 0.85rem 1rem;
	border: 1px solid #dbe2ee;
	border-radius: 14px;
	margin-bottom: 1rem;
	font-family: inherit;
}

.mdv-input:focus {
	outline: none;
	border-color: var(--mdv-primary);
	box-shadow: 0 0 0 3px rgba(0, 48, 135, 0.15);
}

.mdv-button {
	width: 100%;
	background: var(--mdv-primary);
	color: #fff;
	border: none;
	border-radius: 999px;
	padding: 0.95rem;
	font-family: inherit;
	font-weight: 800;
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	cursor: pointer;
	transition: background 0.15s ease;
}

.mdv-button:hover {
	background: var(--mdv-primary-dark);
}

.mdv-button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.mdv-result {
	margin-top: 1.25rem;
	font-size: 0.9rem;
	color: #1e293b;
}

.mdv-result:empty {
	margin-top: 0;
}

.mdv-result .mdv-state {
	border-radius: 14px;
	padding: 1rem 1.1rem;
	font-weight: 600;
}

.mdv-result .mdv-state.error {
	background: #fdecec;
	color: var(--mdv-error);
}

.mdv-result .mdv-state.ok {
	background: #eaf7ef;
	color: var(--mdv-ok);
}

.mdv-result .mdv-state.loading {
	background: #eef2f9;
	color: var(--mdv-primary);
}

.mdv-ficha-name {
	margin: 0 0 0.85rem;
	font-weight: 900;
	font-size: 1.05rem;
	text-align: center;
	color: var(--mdv-primary);
	text-transform: uppercase;
}

.mdv-ficha-highlight {
	background: #fff;
	border: 1px solid rgba(15, 138, 69, 0.25);
	border-radius: 12px;
	padding: 0.9rem 1rem;
	margin-bottom: 0.75rem;
}

.mdv-ficha-details {
	opacity: 0.85;
}

.mdv-field {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.35rem 0;
	font-size: 0.85rem;
}

.mdv-field:not(:last-child) {
	border-bottom: 1px dashed rgba(15, 23, 42, 0.08);
}

.mdv-field-label {
	font-weight: 700;
	color: #475569;
}

.mdv-field-value {
	font-weight: 800;
	text-align: right;
	color: #0f172a;
}

.mdv-privacy {
	margin: 1.25rem 0 0;
	font-size: 0.7rem;
	color: #94a3b8;
	text-align: center;
	line-height: 1.4;
}
