html,
body {
	margin: 0;
	padding: 0;
	width: 100%;
	min-height: 100%;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

.acte-body {
	margin: 0;
	background:
		radial-gradient(circle at 15% 20%, rgba(255,255,255,0.10), transparent 22%),
		radial-gradient(circle at 85% 80%, rgba(255,255,255,0.06), transparent 20%),
		linear-gradient(135deg, #0c2e00 0%, #195300 55%, #2f7a10 100%);
	color: #1d1d1d;
}

.acte-screen {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.acte-card {
	width: 100%;
	max-width: 980px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	background: rgba(255, 255, 255, 0.96);
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.acte-left {
	padding: 56px 44px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	background: linear-gradient(180deg, rgba(25, 83, 0, 0.05), rgba(25, 83, 0, 0.10));
	border-right: 1px solid rgba(25, 83, 0, 0.10);
}

.acte-school-logo-wrap {
	width: 100%;
	min-height: 190px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
}

.acte-school-logo {
	max-width: 340px;
	object-fit: contain;
}

.acte-school-title {
	margin: 0;
	font-size: 2rem;
	font-weight: 700;
	color: #195300;
}

.acte-right {
	padding: 56px 44px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.acte-mercante-logo-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 22px;
}

.acte-mercante-logo {
	max-width: 400px;
	object-fit: contain;
}

.acte-intro {
	text-align: left;
	margin-bottom: 24px;
}

.acte-eyebrow {
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #195300;
	margin-bottom: 8px;
}

.acte-description {
	font-size: 1rem;
	color: #5f6b63;
}

.acte-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.acte-label {
	font-weight: 700;
	color: #26352a;
}

.acte-code-field {
	position: relative;
}

.acte-input {
	width: 100%;
	height: 54px;
	padding: 0 56px 0 16px;
	border: 1px solid #cfd8d1;
	border-radius: 12px;
	font-size: 1rem;
	color: #1d1d1d;
	background: #fff;
}

.acte-input:focus {
	border-color: #195300;
	box-shadow: 0 0 0 3px rgba(25, 83, 0, 0.15);
	outline: none;
}

.acte-input[aria-invalid="true"] {
	border-color: #c73e2f;
	box-shadow: 0 0 0 3px rgba(199, 62, 47, 0.12);
}

.acte-toggle-code {
	position: absolute;
	top: 50%;
	right: 8px;
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: #52635a;
	cursor: pointer;
	transform: translateY(-50%);
}

.acte-toggle-code:hover,
.acte-toggle-code:focus {
	background: rgba(25, 83, 0, 0.08);
	color: #195300;
	outline: none;
}

.acte-toggle-code:focus-visible {
	box-shadow: 0 0 0 3px rgba(25, 83, 0, 0.18);
}

.acte-toggle-code svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
}

.acte-eye-closed,
.acte-toggle-code.is-visible .acte-eye-open {
	display: none;
}

.acte-toggle-code.is-visible .acte-eye-closed {
	display: block;
}

.acte-feedback {
	display: none;
	margin-top: -4px;
	padding: 10px 12px;
	border-radius: 10px;
	font-size: 0.94rem;
	line-height: 1.35;
}

.acte-feedback.is-visible {
	display: block;
}

.acte-feedback.is-error {
	background: #fdecec;
	color: #9f2a20;
	border: 1px solid rgba(180, 35, 24, 0.16);
}

.acte-button {
	height: 54px;
	border: 0;
	border-radius: 12px;
	background: linear-gradient(180deg, #1f6a05 0%, #195300 100%);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

.acte-button:hover {
	background: #143f00;
}

.acte-button:disabled {
	background: #8aa37f;
	cursor: wait;
	opacity: 0.92;
}

.acte-button:disabled:hover {
	background: #8aa37f;
}

@media (max-width: 860px) {
	.acte-card {
		grid-template-columns: 1fr;
	}

	.acte-left {
		border-right: 0;
		border-bottom: 1px solid rgba(25, 83, 0, 0.10);
	}
}
/* Responsive acceso por código */
.acte-screen {
	width: 100%;
	min-height: 100svh;
	padding: clamp(14px, 4vw, 32px);
	overflow-x: hidden;
}

.acte-card {
	width: 100%;
	max-width: 980px;
	margin: 0 auto;
}

.acte-school-logo,
.acte-mercante-logo {
	width: 100%;
	height: auto;
}

@media (max-width: 860px) {
	.acte-screen {
		align-items: flex-start;
		padding: 18px;
	}

	.acte-card {
		display: flex;
		flex-direction: column;
		max-width: 560px;
		border-radius: 20px;
	}

	.acte-left,
	.acte-right {
		padding: 32px 24px;
	}

	.acte-school-logo-wrap {
		min-height: auto;
		margin-bottom: 14px;
	}

	.acte-school-logo {
		max-width: 240px;
	}

	.acte-mercante-logo {
		max-width: 280px;
	}

	.acte-school-title {
		font-size: 1.55rem;
		line-height: 1.2;
	}

	.acte-description {
		font-size: 0.95rem;
	}
}

@media (max-width: 480px) {
	.acte-screen {
		padding: 0;
		align-items: stretch;
	}

	.acte-card {
		min-height: 100svh;
		border-radius: 0;
		box-shadow: none;
	}

	.acte-left {
		padding: 24px 18px 18px;
	}

	.acte-right {
		padding: 24px 18px 32px;
	}

	.acte-school-logo {
		max-width: 190px;
	}

	.acte-mercante-logo {
		max-width: 230px;
	}

	.acte-school-title {
		font-size: 1.35rem;
	}

	.acte-intro {
		margin-bottom: 18px;
	}

	.acte-input,
	.acte-button {
		height: 50px;
		font-size: 1rem;
	}

	.acte-toggle-code {
		width: 38px;
		height: 38px;
	}
}

