/* Step 1 Registro - CSS específico */

.teco-register-page-step-section {
	padding: 40px;
	max-width: 694px;
}

#teco-register-page-step1 {
	background: #f0f5ff;
	box-shadow: 0 4px 32px rgba(0, 0, 0, 0.13);
	margin: 20px auto;
	border-radius: 16px;
	min-height: auto;
	padding: 40px;
	width: 100%;
	max-width: 694px;
}

.teco-register-page-title {
	text-align: center;
	font-size: 2.75rem;
	font-style: normal;
	font-weight: 600;
	line-height: 3rem;
	margin-top: 0px;
	margin-bottom: 30px;
	color: #1a1a2e;
	word-spacing: 0.1em;
	text-transform: none;
}

.highlight-green {
	color: var(--Primary-600, #379D15);
	display: inline !important;
	text-decoration: underline;
	font-family: Poppins;
	font-size: 44px;
	font-style: normal;
	font-weight: 600;
	line-height: 48px;
	text-decoration-style: solid;
	text-decoration-skip-ink: none;
	text-decoration-thickness: auto;
	text-underline-offset: auto;
	text-underline-position: from-font;
	white-space: nowrap;
}

.teco-register-page-error-section {
	padding: 0;
	margin-bottom: 12px;
}

#teco-register-page-general-error {
	color: #E4514A;
	font-size: 0.85rem;
	font-weight: 400;
	line-height: 1.2rem;
	text-align: center;
	border-radius: 6px;
	padding: 10px 12px;
	margin: 0;
	display: none;
}

#teco-register-page-general-error.show {
	display: block !important;
}

#teco-register-page-email-error {
	color: #E4514A;
	font-size: 0.85rem;
	font-weight: 400;
	line-height: 1.2rem;
	border-radius: 6px;
	padding-bottom: 10px;
	margin: 0;
	display: none;
}

#teco-register-page-email-error.show {
	display: block !important;
}

.teco-register-page-input-group {
	position: relative;
	display: flex;
	align-items: center;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	overflow: hidden;
	padding: 0;
	margin-bottom: 16px;
	transition: border-color 0.2s ease;
}

.teco-register-page-input-group input,
.teco-register-page-input-group select {
	width: 100%;
	height: 52px;
	border: none;
	background: transparent;
	font-size: 0.95rem;
	padding: 12px 14px 12px 45px !important;
	color: #1f2937;
	outline: none;
	box-sizing: border-box;
	border-radius: inherit;
	background-clip: padding-box;
	font-weight: 400;
	line-height: 1.5rem;
	text-transform: none;
}

.teco-register-page-input-group input::placeholder {
	color: #9ca3af;
	font-weight: 400;
	text-transform: none;
}

.teco-register-page-input-group.input-error {
	border-color: #E4514A !important;
	/* background: #F6D0D6 !important; */
	border-radius: 10px;
}

.teco-register-page-input-group.input-error input,
.teco-register-page-input-group.input-error select {
	color: #1F242E !important;
	/* background: #F6D0D6 !important; */
	border-radius: 10px;
	box-shadow: 0 0 0 3px rgba(228, 81, 74, 0.1) !important;
}

.teco-register-page-input-group.input-error input::placeholder {
	color: #9ca3af;
}

.teco-register-page-input-group.input-error input:focus,
.teco-register-page-input-group.input-error select:focus {
	outline: none !important;
	border-color: #E4514A !important;
}

.teco-register-page-error-message {
	color: #E4514A;
	font-size: 0.85rem;
	font-weight: 600;
	line-height: 1.2rem;
	display: none;
	margin-bottom: 12px;
	margin-top: 0px;
	text-transform: none;
	text-align: start;
}

.teco-register-page-error-message.show {
	display: block !important;
}

input.input-error {
	color: #1F242E !important;
}

.teco-register-page-input-group .email-icon,
.teco-register-page-input-group .password-icon {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	z-index: 1;
	pointer-events: none;
}

.teco-register-page-input-icon {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 4px;
	display: flex;
	align-items: center;
	z-index: 2;
	pointer-events: auto !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	outline: none !important;
	box-shadow: none !important;
}

.teco-register-page-input-icon:hover {
	background: rgba(0, 0, 0, 0.05);
	border-radius: 4px;
}

.eye-open-icon,
.eye-closed-icon {
	width: 24px;
	height: 24px;
	align-items: center;
	justify-content: center;
}

.eye-open-icon {
	display: none;
}

.eye-closed-icon {
	display: inline-flex;
}

.teco-register-page-password-tip {
	font-size: 0.75rem;
	font-weight: 400;
	line-height: 1rem;
	margin-bottom: 0px;
	margin-top: -8px;
	color: #3C1F94;
	text-transform: none;
}

.teco-register-page-error-message {
	color: #E4514A;
	font-size: 0.85rem;
	font-weight: 400;
	line-height: 1.2rem;
	display: none;
	margin-bottom: 10px;
	margin-top: 0px;
	text-transform: none;
	text-align: start;
}

.teco-register-page-error-message.show {
	display: block !important;
}

#teco-register-page-password-error {
	display: none;
	text-align: start;
}

.teco-register-page-info-block {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 16px;
}

.teco-register-page-info-description {
	color: var(--color-secondary-800);
	font-size: 1rem;
	font-style: normal;
	font-weight: 400;
	line-height: 24px;
	word-wrap: break-word;
	text-transform: initial;
	margin-bottom: 10px;
	text-align: start;
}

.teco-register-page-checkbox-group {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}

.teco-register-page-checkbox-group .teco-register-page-checkbox-input:not(.no-icheck) {
	display: none !important;
}

.teco-register-page-checkbox-group .teco-register-page-checkbox-label {
	color: #1f2937;
	font-size: 0.95rem;
	font-weight: 400;
	cursor: pointer;
	user-select: none;
	line-height: 1.4rem;
	margin: 0;
	position: relative;
	padding-left: 28px;
	text-transform: none;
	text-align: start;
}

.teco-register-page-checkbox-group .teco-register-page-checkbox-label::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 20px;
	height: 20px;
	border-radius: 4px;
	border: 1px solid #495368;
	background: #fff;
	cursor: pointer;
	transition: all 0.2s ease;
	display: flex;
	text-align: start;
}

.teco-register-page-checkbox-group .teco-register-page-checkbox-input:checked+.teco-register-page-checkbox-label::before {
	background: #1F242E;
	border: 1px solid #1F242E;
	text-align: start;
}

.teco-register-page-checkbox-group .teco-register-page-checkbox-input:checked+.teco-register-page-checkbox-label::after {
	content: '';
	position: absolute;
	left: 6px;
	top: 5px;
	width: 9px;
	height: 7px;
	border-left: 2px solid #61E437;
	border-bottom: 2px solid #61E437;
	transform: rotate(-45deg);
}

.teco-register-page-terms-section {
	margin-top: 5px;
	text-align: start;
}

.teco-register-page-terms-text {
	color: #4b5563;
	font-size: 0.95rem;
	font-weight: 400;
	word-wrap: break-word;
	line-height: 1.5rem;
	text-transform: none;
	text-align: start;
}

.teco-register-page-terms-bold {
	font-weight: 600;
	color: #1a1a2e;
}

.teco-register-page-terms-link {
	color: #376fd5;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
}

.teco-register-page-btn-container {
	display: flex;
	justify-content: center;
	margin-top: 30px;
}

.btn-primary {
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.5rem;
	letter-spacing: 0;
	text-transform: uppercase;
	background: #1F242E;
	color: #61E437;
	border: none;
	border-radius: 12px;
	cursor: pointer;
	transition: none;
	display: inline-flex;
	min-width: 140px;
	height: 52px;
	padding: 16px;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex-shrink: 0;
}

.btn-primary:hover {
	background: #2A2F3A;
	color: #6FE83F;
}

.btn-primary.btn-sm {
	min-width: 140px;
}

@media (max-width: 600px) {
	#teco-register-page-step1 {
		padding: 20px 20px 20px 20px;
		margin: 0 auto;
	}

	.teco-register-page-step-section {
		padding: 12px 12px 16px 12px;
		max-width: 100%;
	}

	.teco-register-page-title {
		font-size: 1.75rem;
		font-weight: 600;
		line-height: 2.1rem;
		padding: 0;
		margin-bottom: 12px;
	}

	.highlight-green {
		font-size: 1.5rem;
		line-height: 1.8rem;
		white-space: normal;
	}

	.teco-register-page-error-section {
		padding: 0;
		margin-bottom: 8px;
	}

	#teco-register-page-general-error,
	#teco-register-page-email-error {
		font-size: 0.85rem;
		padding: 8px 10px;
	}

	.teco-register-page-password-tip {
		font-size: 0.8rem;
		font-weight: 400;
		line-height: 1.1rem;
		margin-bottom: 8px;
		margin-top: -4px;
	}

	.teco-register-page-info-description {
		font-size: 0.95rem;
		line-height: 1.4rem;
		margin-bottom: 10px;
	}

	.teco-register-page-checkbox-label {
		font-size: 0.95rem;
		line-height: 1.4rem;
	}

	.teco-register-page-terms-text {
		font-size: 0.9rem;
		line-height: 1.3rem;
	}

	.teco-register-page-input-group {
		margin-bottom: 12px;
		height: 48px;
	}

	.teco-register-page-input-group input,
	.teco-register-page-input-group select {
		height: 48px;
		padding: 0 44px 0 46px !important;
		font-size: 16px;
	}

	.teco-register-page-input-group .email-icon,
	.teco-register-page-input-group .password-icon {
		width: 20px;
		height: 20px;
		left: 12px;
	}

	.btn-primary {
		height: 46px;
		font-size: 0.95rem;
		min-width: 120px;
	}
}

@media (max-width: 420px) {
	#teco-register-page-step1 {
		padding: 10px 8px 14px 8px;
	}

	.teco-register-page-step-section {
		padding: 10px 8px 14px 8px;
	}

	.teco-register-page-title {
		font-size: 1.5rem;
		line-height: 1.8rem;
		margin-bottom: 10px;
	}

	.highlight-green {
		font-size: 1.25rem;
		line-height: 1.5rem;
	}

	.teco-register-page-password-tip {
		font-size: 0.75rem;
	}

	.teco-register-page-info-block {
		margin-top: 10px;
	}

	.teco-register-page-input-group input,
	.teco-register-page-input-group select {
		height: 44px;
		padding: 0 40px 0 42px !important;
		font-size: 16px;
	}

	.teco-register-page-input-group {
		height: 44px;
	}

	.teco-register-page-input-group .email-icon,
	.teco-register-page-input-group .password-icon {
		width: 18px;
		height: 18px;
		left: 12px;
	}

	.btn-primary {
		height: 42px;
		font-size: 0.9rem;
	}
}

/* Hide actual checkboxes */
#ServiceEmails,
#MarketingEmails {
	visibility: hidden !important;
	position: absolute !important;
	left: -9999px !important;
	width: 0 !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	pointer-events: none !important;
	opacity: 0 !important;
}

/* Style the labels */
.teco-register-page-checkbox-group label[for="ServiceEmails"],
.teco-register-page-checkbox-group label[for="MarketingEmails"] {
	color: #1f2937;
	font-size: 0.95rem;
	font-weight: 400;
	cursor: pointer;
	user-select: none;
	line-height: 1.4rem;
	margin: 0;
	position: relative;
	padding-left: 28px;
	display: block;
	transition: all 0.2s ease;
}

/* Custom checkbox box */
.teco-register-page-checkbox-group label[for="ServiceEmails"]::before,
.teco-register-page-checkbox-group label[for="MarketingEmails"]::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 20px;
	height: 20px;
	border-radius: 4px;
	border: 1px solid #495368;
	background: #fff;
	cursor: pointer;
	transition: all 0.2s ease;
	pointer-events: none;
}

/* Custom checkmark - empty by default */
.teco-register-page-checkbox-group label[for="ServiceEmails"]::after,
.teco-register-page-checkbox-group label[for="MarketingEmails"]::after {
	content: '';
	position: absolute;
	left: 6px;
	top: 5px;
	width: 9px;
	height: 7px;
	border-left: 2px solid transparent;
	border-bottom: 2px solid transparent;
	transform: rotate(-45deg);
	pointer-events: none;
	transition: all 0.2s ease;
}

/* Checked state - dark background */
.teco-register-page-checkbox-group label[for="ServiceEmails"].checked::before,
.teco-register-page-checkbox-group label[for="MarketingEmails"].checked::before {
	background: #1F242E;
	border: 1px solid #1F242E;
}

/* Checked state - green checkmark */
.teco-register-page-checkbox-group label[for="ServiceEmails"].checked::after,
.teco-register-page-checkbox-group label[for="MarketingEmails"].checked::after {
	border-left: 2px solid #61E437;
	border-bottom: 2px solid #61E437;
}

/* Hide iCheck wrappers for checkboxes */
.teco-register-page-checkbox-group .icheckbox_minimal,
.teco-register-page-checkbox-group .iCheck-helper {
	display: none !important;
}

@media (max-width: 768px) {
	.highlight-green {
		font-size: 30px;
		line-height: 36px;
	}
}

/* ─── Social choice buttons ─── */

#teco-register-step1-choices {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.teco-register-page-social-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	height: 56px;
	background-color: #ffffff;
	color: #1f2937;
	border: 1.5px solid #d1d5db;
	border-radius: 12px;
	font-family: 'Poppins', sans-serif;
	font-size: 1rem;
	font-weight: 500;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease;
	box-sizing: border-box;
	padding: 0 20px;
}

.teco-register-page-social-btn:hover {
	background-color: #f9fafb;
	border-color: #9ca3af;
	color: #1f2937;
	text-decoration: none;
}

.teco-register-page-social-btn img {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	object-fit: contain;
}

.teco-register-page-or-divider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 4px 0;
}

.teco-register-page-or-line {
	flex: 1;
	height: 1px;
	background-color: #d1d5db;
}

.teco-register-page-or-text {
	color: #6b7280;
	font-family: 'Poppins', sans-serif;
	font-size: 0.95rem;
	font-weight: 500;
	white-space: nowrap;
}

/* ─── Back link inside email form ─── */

.teco-register-page-back-link-step1 {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #1f2937;
	font-size: 0.9rem;
	font-weight: 500;
	text-decoration: none;
	margin-bottom: 20px;
	cursor: pointer;
}

.teco-register-page-back-link-step1:hover {
	color: var(--Primary-600, #379D15);
	text-decoration: none;
}

@media (max-width: 600px) {
	.teco-register-page-social-btn {
		height: 50px;
		font-size: 0.9rem;
	}
}
