/**
 * Página — Solicitud de información LOTAIP.
 */

.ngz-page-hero--transparencia {
	background: linear-gradient(135deg, rgba(45, 140, 86, 0.08) 0%, rgba(232, 185, 35, 0.05) 100%);
}

.ngz-page--solicitud-informacion .ngz-page__body {
	padding-top: 1.75rem;
	padding-bottom: 3rem;
}

.ngz-solicitud-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
	gap: 1.25rem;
	align-items: start;
}

.ngz-solicitud-main,
.ngz-solicitud-aside {
	min-width: 0;
}

.ngz-solicitud-intro {
	margin-bottom: 1.25rem;
}

.ngz-solicitud-notice {
	margin: 0 0 1rem;
	padding: 0.85rem 1rem;
	border-radius: var(--ngz-radius-md);
	font-size: 0.9375rem;
	line-height: 1.5;
}

.ngz-solicitud-notice--success {
	background: rgba(45, 140, 86, 0.12);
	border: 1px solid rgba(45, 140, 86, 0.25);
	color: var(--ngz-verde-1);
}

.ngz-solicitud-notice--error {
	background: rgba(198, 40, 40, 0.08);
	border: 1px solid rgba(198, 40, 40, 0.2);
	color: #8b1a1a;
}

.ngz-solicitud-form {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	width: 100%;
	max-width: 100%;
}

.ngz-solicitud-form__section {
	margin: 0;
	padding: 1.15rem 1.2rem 1.25rem;
	border: 1px solid rgba(13, 51, 32, 0.08);
	border-radius: var(--ngz-radius-lg);
	background: var(--ngz-blanco);
	min-width: 0;
}

.ngz-solicitud-form__section legend {
	padding: 0 0.25rem;
	font-family: var(--ngz-font-serif);
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--ngz-verde-1);
}

.ngz-solicitud-form__grid {
	display: grid;
	gap: 0.85rem;
}

.ngz-solicitud-form__grid--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ngz-solicitud-form__field,
.ngz-solicitud-form__consent {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	min-width: 0;
}

.ngz-solicitud-form__section .ngz-solicitud-form__field + .ngz-solicitud-form__field,
.ngz-solicitud-form__section .ngz-solicitud-form__grid + .ngz-solicitud-form__field {
	margin-top: 0.85rem;
}

.ngz-solicitud-form__field > label,
.ngz-solicitud-form__label {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--ngz-verde-1);
}

.ngz-required {
	color: #b42318;
}

.ngz-solicitud-form__field input:not([type="radio"]):not([type="checkbox"]),
.ngz-solicitud-form__field select,
.ngz-solicitud-form__field textarea {
	display: block;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 0.7rem 0.85rem;
	border: 1px solid rgba(13, 51, 32, 0.16);
	border-radius: var(--ngz-radius-md);
	font: inherit;
	color: var(--ngz-verde-1);
	background: var(--ngz-blanco);
}

.ngz-solicitud-form__field textarea {
	min-height: 8rem;
	resize: vertical;
}

.ngz-solicitud-form__field input:not([type="radio"]):not([type="checkbox"]):focus,
.ngz-solicitud-form__field select:focus,
.ngz-solicitud-form__field textarea:focus {
	outline: none;
	border-color: var(--ngz-verde-2);
	box-shadow: 0 0 0 3px rgba(45, 140, 86, 0.12);
}

.ngz-solicitud-form__choices {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	width: 100%;
}

.ngz-solicitud-form__choice {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	width: 100%;
	max-width: 100%;
	font-size: 0.9rem;
	font-weight: 400;
	line-height: 1.45;
	color: var(--ngz-suave);
	cursor: pointer;
}

.ngz-solicitud-form__choice input[type="radio"],
.ngz-solicitud-form__choice input[type="checkbox"] {
	width: 1.05rem;
	height: 1.05rem;
	min-width: 1.05rem;
	margin: 0.15rem 0 0;
	padding: 0;
	flex: 0 0 auto;
	border: 1px solid rgba(13, 51, 32, 0.28);
	border-radius: 50%;
	background: var(--ngz-blanco);
	box-shadow: none;
	accent-color: var(--ngz-verde-2);
}

.ngz-solicitud-form__choice input[type="checkbox"] {
	border-radius: 0.2rem;
}

.ngz-solicitud-form__choice span {
	flex: 1 1 auto;
	min-width: 0;
}

.ngz-solicitud-form__consent {
	padding: 0.85rem 1rem;
	border: 1px solid rgba(13, 51, 32, 0.08);
	border-radius: var(--ngz-radius-md);
	background: rgba(45, 140, 86, 0.04);
}

.ngz-solicitud-form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.ngz-solicitud-form__recaptcha-note {
	margin: 0 0 0.75rem;
	font-size: 0.75rem;
	line-height: 1.45;
	color: rgba(13, 51, 32, 0.55);
}

.ngz-solicitud-form__recaptcha-note a {
	color: inherit;
	text-decoration: underline;
}

.ngz-solicitud-form__actions {
	margin: 0;
}

.ngz-solicitud-form__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.85rem;
	padding: 0 1.5rem;
	border: none;
	border-radius: var(--ngz-radius-md);
	background: var(--ngz-verde-2);
	color: var(--ngz-blanco);
	font-size: 0.95rem;
	font-weight: 700;
	cursor: pointer;
	transition: background var(--ngz-duration);
}

.ngz-solicitud-form__submit:hover {
	background: var(--ngz-verde-1);
}

.ngz-solicitud-panel {
	padding: 1rem 1.05rem 1.1rem;
	border-radius: var(--ngz-radius-md);
	border: 1px solid rgba(13, 51, 32, 0.08);
	background: var(--ngz-gris-f);
	border-top: 3px solid var(--ngz-verde-2);
}

.ngz-solicitud-panel + .ngz-solicitud-panel {
	margin-top: 0.85rem;
}

.ngz-solicitud-panel__title {
	margin: 0 0 0.55rem;
	font-family: var(--ngz-font-serif);
	font-size: 1rem;
	color: var(--ngz-verde-1);
}

.ngz-solicitud-panel__name {
	margin: 0 0 0.25rem;
	font-weight: 700;
	color: var(--ngz-verde-1);
}

.ngz-solicitud-panel__meta,
.ngz-solicitud-panel__text {
	margin: 0 0 0.35rem;
	font-size: 0.875rem;
	line-height: 1.55;
	color: var(--ngz-suave);
	word-break: break-word;
}

.ngz-solicitud-panel__meta a,
.ngz-solicitud-panel__link {
	color: var(--ngz-verde-2);
	font-weight: 600;
	text-decoration: none;
	word-break: break-word;
}

.ngz-solicitud-panel__meta a:hover,
.ngz-solicitud-panel__link:hover {
	text-decoration: underline;
}

/* Tablet */
@media (max-width: 1024px) {
	.ngz-solicitud-layout {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.ngz-solicitud-aside {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.85rem;
	}

	.ngz-solicitud-panel + .ngz-solicitud-panel {
		margin-top: 0;
	}
}

/* Mobile landscape / small tablet */
@media (max-width: 768px) {
	.ngz-page--solicitud-informacion .ngz-page__body {
		padding-top: 1.25rem;
		padding-bottom: 2.5rem;
	}

	.ngz-solicitud-form__grid--2 {
		grid-template-columns: 1fr;
	}

	.ngz-solicitud-aside {
		grid-template-columns: 1fr;
	}

	.ngz-solicitud-form__section {
		padding: 1rem;
	}

	.ngz-solicitud-form__submit {
		width: 100%;
	}
}

/* Mobile portrait */
@media (max-width: 480px) {
	.ngz-solicitud-form {
		gap: 1rem;
	}

	.ngz-solicitud-form__section legend {
		font-size: 1rem;
	}

	.ngz-solicitud-form__field > label,
	.ngz-solicitud-form__label {
		font-size: 0.8125rem;
	}

	.ngz-solicitud-form__field input:not([type="radio"]):not([type="checkbox"]),
	.ngz-solicitud-form__field select,
	.ngz-solicitud-form__field textarea {
		padding: 0.65rem 0.75rem;
		font-size: 1rem;
	}

	.ngz-solicitud-form__choice {
		gap: 0.55rem;
		font-size: 0.875rem;
	}

	.ngz-solicitud-panel {
		padding: 0.9rem;
	}
}
