/* Estilos para el formulario de afiliación Tecsmart Conecta */
.tecsmart-affiliation-form-wrapper {
	padding: 30px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	max-width: 800px;
	margin: 0 auto;
}

.tecsmart-affiliation-form-title {
	font-size: 28px;
	font-weight: 700;
	color: #1d2327;
	margin-bottom: 15px;
	text-align: center;
}

.tecsmart-affiliation-form-description {
	font-size: 16px;
	color: #646970;
	margin-bottom: 30px;
	text-align: center;
	line-height: 1.6;
}

.tecsmart-affiliation-form {
	width: 100%;
}

.tecsmart-form-section {
	margin-bottom: 35px;
	padding-bottom: 25px;
	border-bottom: 2px solid #e5e7eb;
}

.tecsmart-form-section:last-of-type {
	border-bottom: none;
	margin-bottom: 25px;
}

.tecsmart-form-section h4 {
	font-size: 20px;
	font-weight: 600;
	color: #1d2327;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 1px solid #e5e7eb;
}

.tecsmart-form-row {
	display: flex;
	gap: 20px;
	margin-bottom: 20px;
	flex-wrap: wrap;
}

.tecsmart-form-row .tecsmart-form-field {
	flex: 1;
	min-width: 250px;
}

.tecsmart-form-field {
	margin-bottom: 20px;
}

.tecsmart-form-field label {
	display: block;
	font-weight: 600;
	color: #1d2327;
	margin-bottom: 8px;
	font-size: 14px;
}

.tecsmart-form-field .required {
	color: #dc3232;
	margin-left: 3px;
}

.tecsmart-form-field input[type="text"],
.tecsmart-form-field input[type="email"],
.tecsmart-form-field input[type="tel"],
.tecsmart-form-field select,
.tecsmart-form-field textarea {
	width: 100%;
	padding: 12px 16px;
	border: 2px solid #c3c4c7;
	border-radius: 6px;
	font-size: 14px;
	font-family: inherit;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	background: #fff;
}

.tecsmart-form-field input[type="text"]:focus,
.tecsmart-form-field input[type="email"]:focus,
.tecsmart-form-field input[type="tel"]:focus,
.tecsmart-form-field select:focus,
.tecsmart-form-field textarea:focus {
	outline: none;
	border-color: #2271b1;
	box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.1);
}

.tecsmart-form-field textarea {
	resize: vertical;
	min-height: 100px;
}

.tecsmart-form-field input[type="file"] {
	padding: 8px;
	border: 2px dashed #c3c4c7;
	border-radius: 6px;
	background: #f9f9f9;
	cursor: pointer;
	transition: border-color 0.2s ease;
}

.tecsmart-form-field input[type="file"]:hover {
	border-color: #2271b1;
}

.tecsmart-form-field small {
	display: block;
	margin-top: 6px;
	color: #646970;
	font-size: 12px;
}

.tecsmart-checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
	padding: 15px;
	background: #f9f9f9;
	border-radius: 6px;
	border: 1px solid #e5e7eb;
	transition: background-color 0.2s ease;
}

.tecsmart-checkbox-label:hover {
	background: #f0f0f1;
}

.tecsmart-checkbox-label input[type="checkbox"] {
	margin-top: 3px;
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	cursor: pointer;
}

.tecsmart-checkbox-label span {
	flex: 1;
	font-size: 14px;
	color: #1d2327;
	line-height: 1.6;
}

.tecsmart-submit-btn {
	width: 100%;
	padding: 16px 32px;
	background: linear-gradient(135deg, #2271b1 0%, #135e96 100%);
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(34, 113, 177, 0.3);
}

.tecsmart-submit-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(34, 113, 177, 0.4);
}

.tecsmart-submit-btn:active {
	transform: translateY(0);
}

.tecsmart-submit-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

.tecsmart-form-messages {
	margin-top: 20px;
}

.tecsmart-message-success {
	padding: 15px 20px;
	background: #d4edda;
	border: 1px solid #c3e6cb;
	border-radius: 6px;
	color: #155724;
	font-weight: 600;
	margin-bottom: 15px;
}

.tecsmart-message-error {
	padding: 15px 20px;
	background: #f8d7da;
	border: 1px solid #f5c6cb;
	border-radius: 6px;
	color: #721c24;
	font-weight: 600;
	margin-bottom: 15px;
}

.tecsmart-conditional-field {
	animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Responsive */
@media (max-width: 768px) {
	.tecsmart-affiliation-form-wrapper {
		padding: 20px;
	}

	.tecsmart-form-row {
		flex-direction: column;
		gap: 0;
	}

	.tecsmart-form-row .tecsmart-form-field {
		min-width: 100%;
	}
}
