.wp-sipof-block {
	margin: 1.5rem 0;
	position: relative;
}

.wp-sipof-form-wrap {
	margin-bottom: 1rem;
}

.wp-sipof-form {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 1rem;
}

.wp-sipof-field {
	flex: 1 1 16rem;
	max-width: 32rem;
}

.wp-sipof-field .form-label {
	min-height: 0;
	margin-bottom: .4rem;
}

.wp-sipof-block .wp-sipof-input {
	width: 100%;
	min-height: 46px;
}

.wp-sipof-btn {
	min-height: 46px;
	padding: .55rem 1rem;
	border-radius: .45rem;
	cursor: pointer;
}

.wp-sipof-btn:hover {
	filter: brightness(.94);
}

.wp-sipof-nota {
	margin: .5rem 0 0;
	color: var(--texto-default, #343a40);
	font-size: .78rem;
	font-weight: 600;
}

.wp-sipof-loading {
	text-align: center;
	padding: .5rem 0;
}

.wp-sipof-spinner {
	display: inline-block;
	width: 18px;
	height: 18px;
	border: 2px solid rgba(0, 0, 0, .15);
	border-top-color: var(--primary-main, #e5252a);
	border-radius: 50%;
	animation: wp-sipof-spin .7s linear infinite;
}

@keyframes wp-sipof-spin {
	to {
		transform: rotate(360deg);
	}
}

.wp-sipof-table-wrap {
	overflow-x: auto;
}

.wp-sipof-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 11px;
	margin-bottom: .6rem;
}

.wp-sipof-table th,
.wp-sipof-table td {
	padding: .5rem .6rem;
	border: 1px solid #d7d8da;
	text-align: left;
	white-space: nowrap;
}

.wp-sipof-table thead th {
	background-color: #d7d8da;
	font-weight: 600;
	text-align: center;
}

.wp-sipof-table tbody tr:nth-child(even) {
	background: #f9f9f9;
}

.wp-sipof-info {
	font-weight: bold;
	color: #1d5aa0;
	font-size: 12px;
}

.wp-sipof-mensaje-box {
	background-color: #fff;
	border: solid 1px #e5e5e5;
	padding: 10px;
	text-align: center;
	color: #8f499c;
	font-size: 12px;
}

@media (max-width: 600px) {
	.wp-sipof-form {
		align-items: stretch;
		flex-direction: column;
	}

	.wp-sipof-field {
		width: 100%;
		max-width: none;
	}

	.wp-sipof-btn {
		width: 100%;
	}

	.wp-sipof-table thead {
		display: none;
	}

	.wp-sipof-table,
	.wp-sipof-table tbody,
	.wp-sipof-table tr,
	.wp-sipof-table td {
		display: block;
		width: 100%;
	}

	.wp-sipof-table tr {
		margin-bottom: .75rem;
		border: 1px solid #d7d8da;
		padding: .35rem;
	}

	.wp-sipof-table td {
		border: 0;
		padding: .35rem .5rem;
		white-space: normal;
	}

	.wp-sipof-table td[data-label]::before {
		content: attr(data-label) ": ";
		font-weight: 600;
		color: #6c757d;
		margin-right: .15rem;
	}
}

[data-theme="dark"] .wp-sipof-table th,
[data-theme="dark"] .wp-sipof-table td {
	border-color: #3a3a3d;
}

[data-theme="dark"] .wp-sipof-table thead th {
	background-color: #2a2d32;
	color: #e9ecef;
}

[data-theme="dark"] .wp-sipof-table tbody tr:nth-child(even) {
	background: #26292d;
}

[data-theme="dark"] .wp-sipof-info {
	color: #74b9ff;
}

[data-theme="dark"] .wp-sipof-mensaje-box {
	background-color: #212529;
	border-color: #3a3a3d;
	color: #d6b3e6;
}

[data-theme="dark"] .wp-sipof-table td[data-label]::before {
	color: #adb5bd;
}
