/* === Acatlán Denuncias — Estilos públicos === */

.adh-form-wrapper {
	max-width: 720px;
	margin: 0 auto;
	padding: 16px;
	font-family: Helvetica, Arial, sans-serif;
	color: #1a1a1a;
	line-height: 1.6;
	-webkit-text-size-adjust: 100%;
}

.adh-card {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	padding: 32px 24px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.adh-card-success {
	border-color: #c6e1c6;
	background: #f4faf4;
}

.adh-card-error {
	border-color: #e1c6c6;
	background: #faf4f4;
}

.adh-form-title {
	font-family: 'DIN Condensed Bold', Helvetica, Arial, sans-serif;
	font-size: clamp(24px, 5vw, 32px);
	font-weight: 700;
	margin: 0 0 16px;
	color: #111;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.adh-intro {
	font-size: 16px;
	color: #444;
	margin: 0 0 24px;
}

.adh-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.adh-fieldset {
	border: none;
	padding: 0;
	margin: 0;
}

.adh-legend {
	font-weight: 700;
	font-size: 16px;
	margin-bottom: 10px;
	display: block;
}

.adh-radio-label {
	display: inline-block;
	margin-right: 24px;
	font-size: 16px;
	cursor: pointer;
}

.adh-radio-label input[type="radio"] {
	margin-right: 6px;
	accent-color: #1a4d2e;
	transform: scale(1.2);
}

.adh-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.adh-row {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}

.adh-field-half {
	flex: 1;
	min-width: 200px;
}

.adh-label {
	font-size: 15px;
	font-weight: 600;
	color: #333;
}

.adh-required {
	color: #b32d2e;
	font-weight: 700;
}

.adh-input,
.adh-textarea {
	font-family: Helvetica, Arial, sans-serif;
	font-size: 16px;
	padding: 12px 14px;
	border: 2px solid #ccc;
	border-radius: 8px;
	background: #fff;
	color: #1a1a1a;
	min-height: 46px;
	transition: border-color 0.2s;
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	box-sizing: border-box;
}

.adh-input:focus,
.adh-textarea:focus {
	border-color: #1a4d2e;
	outline: none;
	box-shadow: 0 0 0 3px rgba(26, 77, 46, 0.15);
}

.adh-textarea {
	resize: vertical;
	min-height: 120px;
	line-height: 1.5;
}

.adh-checkbox-field {
	flex-direction: row;
	align-items: flex-start;
	gap: 10px;
}

.adh-checkbox-label {
	font-size: 15px;
	cursor: pointer;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	line-height: 1.5;
}

.adh-checkbox-label input[type="checkbox"] {
	margin-top: 3px;
	flex-shrink: 0;
	accent-color: #1a4d2e;
	transform: scale(1.3);
	width: 18px;
	height: 18px;
}

.adh-hp {
	position: absolute;
	left: -9999px;
	opacity: 0;
	height: 0;
	width: 0;
	overflow: hidden;
}

.adh-button {
	font-family: 'DIN Condensed Bold', Helvetica, Arial, sans-serif;
	font-size: 18px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 14px 36px;
	min-height: 52px;
	border: none;
	border-radius: 8px;
	background: #1a4d2e;
	color: #fff;
	cursor: pointer;
	transition: background 0.2s;
	-webkit-appearance: none;
	appearance: none;
	align-self: flex-start;
}

.adh-button:hover {
	background: #143d23;
}

.adh-button:active {
	background: #0f2e1a;
}

.adh-button-secondary {
	background: #555;
}

.adh-button-secondary:hover {
	background: #444;
}

.adh-credentials {
	margin: 24px 0;
	padding: 20px;
	background: #fff;
	border: 2px solid #c6e1c6;
	border-radius: 8px;
}

.adh-credential-item {
	margin-bottom: 16px;
}

.adh-credential-item:last-child {
	margin-bottom: 0;
}

.adh-credential-label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #666;
	margin-bottom: 4px;
}

.adh-folio,
.adh-secret {
	font-family: 'SF Mono', 'Menlo', 'Consolas', monospace;
	font-size: 18px;
	color: #1a4d2e;
	word-break: break-all;
	user-select: all;
}

.adh-warning {
	margin: 16px 0 24px;
	padding: 14px 16px;
	background: #fff8e5;
	border-left: 4px solid #f0b429;
	border-radius: 0 6px 6px 0;
	font-size: 14px;
	line-height: 1.5;
}

.adh-warning strong {
	display: block;
	margin-bottom: 4px;
	color: #8a6100;
}

.adh-checkbox-label a {
	color: #1a4d2e;
	text-decoration: underline;
}

.adh-checkbox-label a:hover {
	color: #143d23;
}

/* Lookup */
.adh-lookup-error {
	background: #fbeaea;
	border-left: 4px solid #b32d2e;
	padding: 12px 16px;
	margin-bottom: 16px;
	border-radius: 0 6px 6px 0;
	font-size: 15px;
}

.adh-lookup-result {
	margin: 16px 0;
}

.adh-lookup-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 0;
	border-bottom: 1px solid #eee;
	flex-wrap: wrap;
	gap: 4px;
}

.adh-lookup-row:last-child {
	border-bottom: none;
}

.adh-lookup-label {
	font-size: 14px;
	color: #666;
	font-weight: 600;
}

.adh-lookup-value {
	font-size: 15px;
	color: #1a1a1a;
}

.adh-status-recibida { color: #1a4d2e; }
.adh-status-en_revision { color: #b8860b; }
.adh-status-informacion_requerida { color: #b35c00; }
.adh-status-concluida { color: #1e7a1e; }
.adh-status-improcedente { color: #b32d2e; }

.adh-lookup-protected {
	margin-top: 16px;
	padding: 12px;
	background: #f0f6fc;
	border-radius: 6px;
	font-size: 14px;
	color: #555;
	text-align: center;
}

@media (max-width: 600px) {
	.adh-form-wrapper {
		padding: 8px;
	}

	.adh-card {
		padding: 20px 16px;
		border-radius: 8px;
	}

	.adh-row {
		flex-direction: column;
		gap: 20px;
	}

	.adh-button {
		width: 100%;
		text-align: center;
		align-self: stretch;
	}

	.adh-folio,
	.adh-secret {
		font-size: 15px;
	}
}

@media print {
	.adh-button {
		display: none;
	}

	.adh-warning {
		background: none;
		border: 1px solid #ccc;
	}
}
