body {
	background: #f6f7f8;
	color: #1f2933;
	overflow-x: hidden;
}

body > .row,
body .navbar > .row,
body header.py-1,
body h2.bg-gradient-info {
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: 100%;
}

body .navbar > .row,
body .navbar .col-md,
body .navbar header.py-1,
body .navbar h2.bg-gradient-info {
	width: 100%;
}

.public-page {
	padding: 92px 16px 32px;
}

.public-card,
.wrap-login {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
	margin: 0 auto;
	max-width: 920px;
	padding: 28px;
	width: 100%;
}

.container-login {
	align-items: center;
	background: #f6f7f8;
	display: flex;
	justify-content: center;
	min-height: 100vh;
	padding: 22px 16px;
}

.wrap-login {
	max-width: 460px;
}

.login-form-title {
	color: #111827;
	display: block;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
	margin-bottom: 10px;
	text-align: center;
}

.login-form-title img {
	height: auto;
	max-width: 96px;
}

.period-badge {
	background: #eef2ff;
	border: 1px solid #c7d2fe;
	border-radius: 8px;
	color: #3730a3;
	display: block;
	font-size: 14px;
	font-weight: 700;
	margin: 12px 0 18px;
	padding: 10px 12px;
	text-align: center;
}

.period-badge.is-closed {
	background: #fef2f2;
	border-color: #fecaca;
	color: #991b1b;
}

.public-card h1 {
	font-size: 24px;
	font-weight: 700;
	margin: 0 0 6px;
}

.public-card .lead {
	color: #6b7280;
	font-size: 14px;
	margin-bottom: 20px;
}

.dni-name-notice {
	background: #fff7ed;
	border: 1px solid #fed7aa;
	border-radius: 8px;
	color: #9a3412;
	font-size: 14px;
	font-weight: 700;
	margin: 0 0 18px;
	padding: 12px 14px;
}

.field-help {
	color: #6b7280;
	display: block;
	font-size: 12px;
	line-height: 1.35;
	margin-top: 6px;
	max-width: 560px;
}

.form-horizontal .form-group {
	margin-left: 0;
	margin-right: 0;
}

.solicitud-form {
	margin-top: 22px;
}

.solicitud-form .form-group {
	align-items: center;
	display: grid;
	gap: 12px 22px;
	grid-template-columns: minmax(180px, 250px) minmax(0, 1fr);
	margin-bottom: 16px;
}

.solicitud-form .form-group > [class*="col-sm-"] {
	float: none;
	padding-left: 0;
	padding-right: 0;
	width: auto !important;
}

.solicitud-form .control-label {
	grid-column: 1;
}

.solicitud-form .form-group > div[class*="col-sm-"] {
	grid-column: 2;
	min-width: 0;
}

.solicitud-form .form-control {
	max-width: 560px;
	width: 100%;
}

.solicitud-form select.form-control {
	overflow: hidden;
	text-overflow: ellipsis;
}

.solicitud-form .public-actions {
	align-items: start;
}

.solicitud-form .public-actions > div {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	max-width: 560px;
}

.form-horizontal .control-label {
	color: #374151;
	font-size: 13px;
	padding-top: 8px;
	text-align: left;
}

.form-control {
	border-color: #d1d5db;
	border-radius: 7px;
	box-shadow: none;
	min-height: 42px;
}

.form-control:focus {
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.public-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 18px;
}

.public-actions .btn,
.container-login-form-btn .login-form-btn {
	border-radius: 7px;
	font-weight: 700;
	min-height: 42px;
	padding-left: 16px;
	padding-right: 16px;
}

.container-login-form-btn,
.wrap-login-form-btn {
	width: 100%;
}

.login-form-btn {
	background: #2563eb;
	border: 0;
	color: #ffffff;
	width: 100%;
}

.login-form-btn:disabled {
	background: #9ca3af;
	cursor: not-allowed;
}

@media (max-width: 767px) {
	.public-page {
		padding: 76px 10px 22px;
	}

	.public-card,
	.wrap-login {
		border-radius: 8px;
		padding: 18px;
	}

	.form-horizontal .control-label,
	.form-horizontal [class*="col-sm-"] {
		float: none;
		padding-left: 0;
		padding-right: 0;
		width: 100%;
	}

	.solicitud-form .form-group {
		display: block;
		margin-bottom: 14px;
	}

	.solicitud-form .control-label,
	.solicitud-form .form-group > div[class*="col-sm-"] {
		grid-column: auto;
		width: 100% !important;
	}

	.solicitud-form .form-control {
		max-width: 100%;
	}

	.solicitud-form .public-actions > div {
		display: block;
		max-width: 100%;
	}

	.form-horizontal .control-label {
		margin-bottom: 6px;
	}

	.public-actions {
		display: block;
	}

	.public-actions .btn,
	.public-actions input[type="submit"] {
		display: block;
		margin-bottom: 8px;
		width: 100%;
	}
}
