#codigomuestra {
	padding: 12px;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
	margin-bottom: 12px;
	font-size: 16px;
	text-align: center;
}

.button-primary {
	background-color: #0088CC;
	color: white;
	padding: 0.5em 1em;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 16px;
}

.certificado-table {
	border-collapse: collapse;
	width: 100%;
}

.certificado-table td, .certificado-table th {
	border: 1px solid #ddd;
	padding: 8px;
}

.certificado-table tr:nth-child(even){background-color: #f2f2f2;}

/*.certificado-table tr:hover {background-color: #ddd;}*/

.error-vc {
	color: red;
}

.certificado-table th {
	padding-top: 12px;
	padding-bottom: 12px;
	text-align: left;
	background-color: #4CAF50;
	color: white;
	font-size: 16px;
}

.invalid-code {
	font-size: 16px;
	text-align: center;
}

.close-button {
	padding: 8px 18px 8px 18px;
	background-color: #f44336;
	color: #ffffff;
	text-decoration: none;
	border-radius: 5px;
	border: 1px solid #007cba;
	padding-left: 40px;
}

.close-icon {
	width: 10px;
	height: 10px;
	vertical-align: middle;
	margin-right: 10px;
	background-position: 10px 10px;
	padding-left: 40px;
}

/* .stvc-dismiss {
	background-image: url('../css/close.svg', dirname( __FILE__ ));
} */

.stvc-notice-action {
	background-repeat: no-repeat;
	padding-left: 40px;
	background-position: 18px 8px;
	cursor: pointer;
}

.stvc-notice-actionw {
	padding: 8px 18px 8px 18px;
	background: #ffff;
	color: #007cba;
	border-radius: 5px;
	border: 1px solid #007cba;
}

.custom-dashboard-widget-stvc {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.custom-dashboard-widget-stvc p {
	margin-right: 20px; 
}


.centered-content-stvc {
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    text-align: center;
}

.centered-content-stvc form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
	margin-bottom: 10px;
}

.wrap {
	margin: 10px 20px 0 2px;
}

#top-menu{
	display: block;
}

#encabezado-menu{
	background-color: #fff;
	font-family: var(--e-a-font-family);
	right: 0;
	left: -20px;
	box-shadow: 0 4px 6px rgba(0,0,0,.03);
	position: absolute;
/* 	width: 105%; */
}

.mi-plugin-titulo {
	font-size: 15px;
	color: #333;
	display: flex;
	justify-content: space-between;
	padding: 10px 25px;
	font-weight: 700;
	align-items: center;
}

.mi-plugin-titulo h2,
.mi-plugin-titulo h1 {
    margin: 0;
}

.wp-heading-inline {
	display: inline-block;
	margin-top: 10px;
	font-size: 24px;
}

.h1 .wp-heading-inline{
	margin-bottom: 10px;
}

.wp-header-end {
	visibility: hidden;
	margin: -2px 0 0;
}

p.search-box {
	float: right;
	margin: 0;
}

.wp-list-table {
	margin-top: 1em;
}

#table.widefat {
	border: 1px solid #c3c4c7;
	box-shadow: 0 1px 1px rgba(0,0,0,.04);
}

.table.fixed {
	table-layout: fixed;
}

.widefat {
	border-spacing: 0;
	width: 100%;
	clear: both;
	margin: 0;
	margin-top: 0px;
}

.title-page-st{
	margin-top: 70px;
}

.page-title-action {
	font-size: 13px;
	font-weight: 500;
	line-height: 1.2;
	
	text-decoration: none;
	padding: 8px 16px;
	outline: none;
	border: none;
	border-radius: 4px;
	background-color: #2271b1;
	color: white;

}

.page-title-action:hover {
	background-color: #1678c2;
	color: white;
	}
	

/* Estilos para el formulario */
.ui.form {
	max-width: 500px;
	margin: 0 auto;
}

/* Estilos para los campos */
	.ui.form .field {
	margin-bottom: 1em;
}

.ui.form label {
	display: block;
}

.ui.form .ui.labeled.input > label {
	width: auto; 
}

.ui.form input[type="text"],
.ui.form input[type="date"] {
	width: 100%; 
	padding: 0.2em; 
	border: 1.5px solid #ccc; 
	border-radius: 4px; 
}

/* Estilos para el botón */
.ui.form input[type="submit"] {
	padding: 0.5em 1em; 
	background-color: #2271b1;
	color: #FFF; 
	border: none; 
	border-radius: 4px;
	cursor: pointer; 
}

.ui.form input[type="submit"]:hover {
	background-color: #1678c2; 
}

/* Estilos para el botón primario */
.ui.primary.button {
	background-color: #2271b1;
	color: #FFF;
	border: none; 
	border-radius: 4px; 
	padding: 0.5em 1em; 
	cursor: pointer; 
}

.ui.primary.button:hover {
	background-color: #1678c2;
}

/* Estilos para el botón secundario */
.ui.secondary.button {
	background-color: #f8f8f8; 
	color: #333; 
	border: 1px solid #ccc; 
	border-radius: 4px; 
	padding: 0.5em 1em; 
	cursor: pointer; 
}

.ui.secondary.button:hover {
	background-color: #e0e0e0;
}
/* Estilos para la tabla */
.ui.table {
	width: 100%; 
	border-collapse: collapse;
}

/* Estilos para las filas impares */
.ui.table tbody tr:nth-child(odd) {
	background-color: #f9f9f9;
}

/* Estilos para las celdas */
.ui.table th,
.ui.table td {
	padding: 0.5em;
	border: 1px solid #ddd; 
}

/* Estilos para las cabeceras */
.ui.table th {
	background-color: #f2f2f2; 
	font-weight: bold;
}

/* Estilos para la segment UI */
.ui.segment {
	border-radius: 0.28571429rem;
	padding: 1em 1em;
}

/* Estilos para la grid UI */
.ui.grid {
	margin-left: -1rem;
	margin-right: -1rem;
}

.ui.grid > .column {
	padding-left: 1rem;
	padding-right: 1rem;
}

/* Estilos para la rejilla de dos columnas */
.ui.two.column.grid {
	display: flex;
	flex-wrap: wrap;
}

.ui.two.column.grid > .column {
	flex: 0 0 auto;
	width: 50%;
	box-sizing: border-box;
	padding: 0 1em; 
}

/* Estilos para los inputs con etiquetas */
.ui.labeled.input {
	display: flex;
	align-items: stretch;
}

.ui.labeled.input > input {
	flex: 1;
}

/* Estilos para los botones */
.ui.button {
	display: inline-block;
	vertical-align: middle;
	outline: 0;
	border: none;
	border-radius: 0.28571429rem;
	padding: 0.6em 1em;
	margin: 0 0 0 0px;
	cursor: pointer;
	text-align: center;
	white-space: nowrap;
	background-color: #2271b1;
	color: #333;
}

.ui.button:hover {
	background-color: #e0e0e0;
}

/* Estilos para dispositivos móviles (celulares) */
@media screen and (max-width:600px) {


	
	.ui.form {
		max-width: 350px;
		margin: 0 auto;
	}

	.wrap .page-title-action{
		padding: 1px 10px;
	}
	
	p.search-box{
		display: flow-root list-item;
	}

	.mi-plugin-titulo{
		padding-left: 25px;
	}

}
/* Add to your plugin CSS or theme */
.button {
  display: inline-block;
  padding: 8px 16px;
  text-decoration: none;
  background: #07294d;
  border: 1px solid #ccc;
  border-radius: 4px;
  color: #333;
}

.button-primary {
  background: #07294d;
  border-color: #07294d;
  color: #ffffff;
  font-family: system-ui;
}

.stvc-portal,
.stvc-portal * {
	box-sizing: border-box;
}

.stvc-portal {
	--stvc-primary: #FDC513;
	--stvc-heading: #111111;
	--stvc-text: #555555;
	--stvc-border: #EAEAEA;
	--stvc-bg: #F7F7F7;
	--stvc-card: #FFFFFF;
	--stvc-success: #16A34A;
	--stvc-danger: #DC2626;
	width: 100%;
	max-width: 700px;
	margin: 0 auto;
	padding: 40px 16px;
	font-family: "Inter", "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--stvc-text);
	line-height: 1.6;
}

.stvc-card {
	width: 100%;
	background: var(--stvc-card);
	border: 1px solid rgba(234, 234, 234, 0.9);
	border-radius: 20px;
	padding: 40px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .08);
	text-align: center;
	animation: stvc-card-fade 300ms ease both;
}

.stvc-card + .stvc-card {
	margin-top: 24px;
}

.stvc-card-title {
	margin: 0;
	color: var(--stvc-heading);
	font-size: 34px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0;
}

.stvc-card-subtitle {
	max-width: 460px;
	margin: 12px auto 0;
	color: var(--stvc-text);
	font-size: 16px;
	line-height: 1.7;
}

.stvc-search-form {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	margin: 30px 0 0;
}

.stvc-input-wrap {
	position: relative;
	flex: 1 1 360px;
	min-width: 0;
}

.stvc-input-wrap > .stvc-icon {
	position: absolute;
	top: 50%;
	left: 18px;
	width: 20px;
	height: 20px;
	color: #8A8A8A;
	transform: translateY(-50%);
	pointer-events: none;
}

.stvc-portal #codigomuestra.stvc-search-input,
.stvc-search-input {
	width: 100%;
	height: 56px;
	margin: 0;
	padding: 0 18px 0 50px;
	border: 1px solid var(--stvc-border);
	border-radius: 14px;
	background: #FFFFFF;
	color: var(--stvc-heading);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .04);
	font: 500 16px/1.3 "Inter", "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	text-align: left;
	outline: none;
	transition: border-color 300ms ease, box-shadow 300ms ease, transform 300ms ease;
}

.stvc-search-input::placeholder {
	color: #9A9A9A;
}

.stvc-search-input:focus {
	border-color: var(--stvc-primary);
	box-shadow: 0 0 0 4px rgba(253, 197, 19, .2), 0 12px 30px rgba(0, 0, 0, .06);
	transform: translateY(-1px);
}

.stvc-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 56px;
	padding: 0 24px;
	border: 0;
	border-radius: 14px;
	font: 800 15px/1 "Inter", "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	transition: transform 300ms ease, box-shadow 300ms ease, background-color 300ms ease;
}

.stvc-button-primary {
	background: var(--stvc-primary);
	color: #111111;
	box-shadow: 0 14px 30px rgba(253, 197, 19, .32);
}

.stvc-button-primary:hover,
.stvc-button-primary:focus {
	background: #F2BA05;
	color: #111111;
	box-shadow: 0 18px 36px rgba(253, 197, 19, .42);
	transform: translateY(-2px);
}

.stvc-button:focus-visible,
.stvc-download-button:focus-visible {
	outline: 3px solid rgba(17, 17, 17, .18);
	outline-offset: 3px;
}

.stvc-icon {
	width: 20px;
	height: 20px;
	display: inline-block;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex: 0 0 auto;
}

.stvc-result-card {
	text-align: left;
}

.stvc-result-card .stvc-card-title,
.stvc-error-card .stvc-card-title {
	text-align: center;
}

.stvc-status-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0 auto 18px;
	padding: 9px 16px;
	border-radius: 999px;
	background: var(--stvc-success);
	color: #FFFFFF;
	box-shadow: 0 12px 28px rgba(22, 163, 74, .26);
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0;
}

.stvc-status-badge .stvc-icon {
	width: 17px;
	height: 17px;
}

.stvc-details-list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-top: 30px;
}

.stvc-detail-row {
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr);
	align-items: center;
	gap: 14px;
	min-height: 88px;
	padding: 18px;
	border: 1px solid var(--stvc-border);
	border-radius: 16px;
	background: #FFFFFF;
}

.stvc-detail-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: rgba(253, 197, 19, .16);
	color: #111111;
}

.stvc-detail-label,
.stvc-detail-value {
	display: block;
	overflow-wrap: anywhere;
}

.stvc-detail-label {
	margin-bottom: 3px;
	color: #777777;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
}

.stvc-detail-value {
	color: var(--stvc-heading);
	font-size: 17px;
	font-weight: 800;
	line-height: 1.35;
}

.stvc-download-button {
	width: 100%;
	margin-top: 28px;
}

.stvc-file-message {
	margin: 28px 0 0;
	padding: 16px 18px;
	border: 1px solid rgba(220, 38, 38, .18);
	border-radius: 14px;
	background: rgba(220, 38, 38, .06);
	color: var(--stvc-danger);
	text-align: center;
	font-weight: 700;
}

.stvc-search-card-compact .stvc-card-title {
	font-size: 26px;
}

.stvc-error-card {
	border-color: rgba(220, 38, 38, .14);
}

.stvc-error-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 76px;
	height: 76px;
	margin-bottom: 22px;
	border-radius: 24px;
	background: rgba(220, 38, 38, .08);
	color: var(--stvc-danger);
}

.stvc-error-icon .stvc-icon {
	width: 38px;
	height: 38px;
	stroke-width: 1.8;
}

.stvc-screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@keyframes stvc-card-fade {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media screen and (max-width: 720px) {
	.stvc-portal {
		padding: 28px 14px;
	}

	.stvc-card {
		padding: 30px 22px;
		border-radius: 18px;
	}

	.stvc-card-title {
		font-size: 29px;
	}

	.stvc-search-form {
		flex-direction: column;
		align-items: stretch;
	}

	.stvc-input-wrap {
		flex-basis: auto;
	}

	.stvc-button {
		width: 100%;
	}

	.stvc-details-list {
		grid-template-columns: 1fr;
	}
}

@media screen and (max-width: 420px) {
	.stvc-portal {
		padding-left: 10px;
		padding-right: 10px;
	}

	.stvc-card {
		padding: 26px 18px;
	}

	.stvc-card-title {
		font-size: 25px;
	}

	.stvc-card-subtitle {
		font-size: 15px;
	}

	.stvc-detail-row {
		grid-template-columns: 40px minmax(0, 1fr);
		padding: 15px;
	}

	.stvc-detail-icon {
		width: 40px;
		height: 40px;
		border-radius: 12px;
	}
}

.stvc-portal {
	position: relative;
	isolation: isolate;
	padding: 44px 16px;
}

.stvc-portal::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: 28px;
	background:
		radial-gradient(circle at 10px 10px, rgba(253, 197, 19, .32) 1.5px, transparent 2px) left 40px top 36px / 18px 18px no-repeat,
		linear-gradient(135deg, rgba(247, 247, 247, .92), rgba(255, 255, 255, .96));
}

.stvc-card {
	position: relative;
	overflow: hidden;
	border-color: rgba(234, 234, 234, .95);
	box-shadow: 0 20px 60px rgba(0, 0, 0, .08), 0 2px 10px rgba(0, 0, 0, .04);
}

.stvc-search-card {
	max-width: 620px;
	margin: 0 auto;
}

.stvc-hero-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin: -18px auto 14px;
	border-radius: 16px;
	background: var(--stvc-primary);
	color: #FFFFFF;
	box-shadow: 0 14px 28px rgba(253, 197, 19, .32);
}

.stvc-hero-icon .stvc-icon {
	width: 28px;
	height: 28px;
	stroke-width: 2.2;
}

.stvc-search-card .stvc-search-form {
	flex-direction: column;
	align-items: center;
	max-width: 520px;
	margin-left: auto;
	margin-right: auto;
}

.stvc-search-card .stvc-input-wrap {
	width: 100%;
	flex-basis: auto;
}

.stvc-search-card .stvc-button {
	min-width: 280px;
}

.stvc-security-note {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 16px 0 0;
	color: #5F6773;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}

.stvc-security-note .stvc-icon {
	width: 15px;
	height: 15px;
	color: #6B7280;
}

.stvc-result-card {
	padding: 34px;
	text-align: left;
}

.stvc-result-card::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 96px;
	z-index: -1;
	background: linear-gradient(90deg, rgba(22, 163, 74, .16), rgba(22, 163, 74, .04));
}

.stvc-result-card .stvc-card-title,
.stvc-result-card .stvc-card-subtitle {
	text-align: left;
	margin-left: 0;
	margin-right: 0;
}

.stvc-result-card .stvc-card-title {
	font-size: 28px;
}

.stvc-result-card .stvc-card-subtitle {
	margin-top: 6px;
	font-size: 14px;
	line-height: 1.55;
}

.stvc-status-badge {
	width: fit-content;
	margin: 0 0 18px;
	background: #16A34A;
}

.stvc-details-list {
	gap: 12px;
	margin-top: 24px;
}

.stvc-detail-row {
	min-height: 78px;
	padding: 14px;
	border-radius: 12px;
	box-shadow: 0 10px 26px rgba(17, 17, 17, .035);
}

.stvc-detail-icon {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #F7F7F7;
	color: #374151;
}

.stvc-detail-icon .stvc-icon {
	width: 19px;
	height: 19px;
}

.stvc-detail-label {
	color: #4B5563;
	font-size: 12px;
}

.stvc-detail-value {
	font-size: 15px;
}

.stvc-reset-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	margin-top: 16px;
	color: #4B5563;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
	transition: color 300ms ease, transform 300ms ease;
}

.stvc-reset-link:hover,
.stvc-reset-link:focus {
	color: var(--stvc-heading);
	transform: translateY(-1px);
}

.stvc-reset-link:focus-visible {
	outline: 3px solid rgba(253, 197, 19, .36);
	outline-offset: 4px;
	border-radius: 10px;
}

.stvc-reset-link .stvc-icon {
	width: 17px;
	height: 17px;
}

.stvc-error-card {
	max-width: 620px;
	margin: 0 auto;
	padding-top: 54px;
}

.stvc-error-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 70px;
	background: rgba(220, 38, 38, .08);
}

.stvc-error-card .stvc-search-form {
	flex-direction: column;
	max-width: 430px;
	margin-left: auto;
	margin-right: auto;
}

.stvc-error-card .stvc-input-wrap,
.stvc-error-card .stvc-button {
	width: 100%;
}

.stvc-error-card .stvc-button-primary {
	background: var(--stvc-danger);
	color: #FFFFFF;
	box-shadow: 0 14px 30px rgba(220, 38, 38, .24);
}

.stvc-error-card .stvc-button-primary:hover,
.stvc-error-card .stvc-button-primary:focus {
	background: #B91C1C;
	color: #FFFFFF;
	box-shadow: 0 18px 36px rgba(220, 38, 38, .34);
}

@media screen and (max-width: 720px) {
	.stvc-search-card .stvc-button,
	.stvc-error-card .stvc-button {
		width: 100%;
		min-width: 0;
	}

	.stvc-result-card {
		padding: 28px 20px;
	}
}

.stvc-field-error {
	margin: 10px 0 0;
	color: #DC2626;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	text-align: left;
}
