.sw-alta,
.sw-alta *,
.sw-alta *::before,
.sw-alta *::after {
	box-sizing: border-box;
}

.sw-alta {
	width: 100%;
	max-width: 32rem;
	margin: 0 auto;
	padding: 0 1.5rem;
	box-sizing: border-box;
}

/* Customify content-size no debe anular el ancho de formulario previsto. */
.site-content .entry-content > .sw-alta {
	max-width: 32rem !important;
	box-sizing: border-box;
}

.sw-alta__title {
	margin: 0 0 0.5rem;
}

.sw-alta__intro {
	margin: 0 0 1rem;
}

.sw-alta__notice {
	margin-bottom: 1rem;
	padding: 0.75rem 1rem;
	border-left: 4px solid #72aee6;
	background: #f0f6fc;
	overflow-wrap: anywhere;
}

.sw-alta__notice--success {
	border-color: #00a32a;
	background: #edfaef;
}

.sw-alta__notice--error {
	border-color: #d63638;
	background: #fcf0f1;
}

.sw-alta__notice--warning {
	border-color: #dba617;
	background: #fcf9e8;
}

.sw-alta__form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.sw-alta__field {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	min-width: 0;
}

.sw-alta__field label {
	font-weight: 600;
}

.sw-alta__field input {
	width: 100%;
	max-width: 100%;
	padding: 0.6rem 0.75rem;
	font: inherit;
}

.sw-alta__field--error input {
	border-color: #d63638;
	outline-color: #d63638;
}

.sw-alta__required {
	color: #d63638;
}

.sw-alta__actions {
	display: flex;
}

.sw-alta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 0.7rem 1rem;
	border: 1px solid #2271b1;
	border-radius: 4px;
	background: #2271b1;
	color: #fff;
	font: inherit;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}

.sw-alta__btn:hover,
.sw-alta__btn:focus {
	background: #135e96;
	border-color: #135e96;
	color: #fff;
}

@media (min-width: 480px) {
	.sw-alta__btn {
		width: auto;
		min-width: 12rem;
	}
}
