/* Botón flotante de WhatsApp */
.wlc-floating-button {
	position: fixed;
	bottom: 20px;
	right: 20px;
	background-color: #25D366;
	color: #fff;
	border-radius: 50px;
	padding: 15px 25px;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	z-index: 9998;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	transition: all 0.3s ease;
	font-weight: 600;
	font-size: 16px;
}

.text-danger {color: red;}

/* Botón redondo cuando no hay texto */
.wlc-floating-button.wlc-button-round {
	padding: 0;
	min-width: 60px;
	min-height: 60px;
	border-radius: 50%;
	width: 60px;
	height: 60px;
}

#wlc-form {
    margin-bottom: 0;
}

.wlc-floating-button:hover {
	background-color: #20BA5A;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.wlc-floating-button svg {
	flex-shrink: 0;
}

.wlc-button-text {
	white-space: nowrap;
}

/* Popup */
.wlc-popup {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
}

.wlc-popup.active {
	display: flex;
	align-items: center;
	justify-content: center;
}

.wlc-popup-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(4px);
}

.wlc-popup-content {
	position: relative;
	background-color: #fff;
	border-radius: 12px;
	padding: 30px;
	max-width: 450px;
	width: 90%;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
	animation: wlc-popup-fade-in 0.3s ease;
	z-index: 10000;
}

@keyframes wlc-popup-fade-in {
	from {
		opacity: 0;
		transform: scale(0.9);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

.wlc-popup-close {
	position: absolute;
	top: 15px;
	right: 15px;
	background: none;
	border: none;
	font-size: 28px;
	color: #666;
	cursor: pointer;
	line-height: 1;
	padding: 0;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.2s ease;
}

.wlc-popup-close:hover {
    border-radius: 100px;
}

.wlc-popup-title {
	margin: 0 0 20px 0;
	font-size: 24px;
	font-weight: 600;
	color: #333;
	display: flex;
	align-items: center;
	gap: 10px;
}

.wlc-popup-title i {
	color: #25D366;
	font-size: 28px;
}

/* Formulario */
.wlc-form {
	margin-top: 20px;
}

.wlc-form-group {
	margin-bottom: 20px;
}

.wlc-form-group label {
	display: flex;
	margin-bottom: 8px;
	font-weight: 500;
	color: #333;
	font-size: 14px;
}

.wlc-input {
	width: 100%;
	padding: 12px 15px;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	font-size: 16px;
	transition: border-color 0.2s ease;
	box-sizing: border-box;
	color: #333;
}

.wlc-input::placeholder {
	color: #c1c1c1;
	opacity: 1;
}

.wlc-input::-webkit-input-placeholder {
	color: #c1c1c1;
	opacity: 1;
}

.wlc-input::-moz-placeholder {
	color: #c1c1c1;
	opacity: 1;
}

.wlc-input:-ms-input-placeholder {
	color: #b0b0b0;
	opacity: 1;
}

.wlc-input:focus {
	outline: none;
	border-color: #25D366;
}

.wlc-input.error {
	border-color: #f44336;
}

.wlc-checkbox-label {
	display: flex;
	align-items: center;
	gap: 12px;
	cursor: pointer;
	margin-top: 5px;
}

.wlc-checkbox-label input[type="checkbox"] {
	margin: 0;
	width: 18px;
	height: 18px;
	cursor: pointer;
	flex-shrink: 0;
	outline: 0;
}

.wlc-checkbox-text {
	font-size: 14px;
	color: #666;
	line-height: 1.6;
	flex: 1;
}

.wlc-checkbox-text a {
	color: #25D366;
	text-decoration: none;
}

.wlc-checkbox-text a:hover {
	text-decoration: underline;
}

.wlc-error-message {
	display: none;
	color: #f44336;
	font-size: 12px;
	margin-top: 5px;
	padding-top: 4px;
}

.wlc-submit-button {
	width: 100%;
	padding: 14px;
	background-color: #25D366;
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s ease;
	margin-top: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.wlc-submit-button i {
	font-size: 18px;
}

.wlc-submit-button:hover {
	background-color: #20BA5A;
}

.wlc-submit-button:disabled {
	background-color: #ccc;
	cursor: not-allowed;
}

/* Mensaje de éxito */
.wlc-success-message {
	text-align: center;
	padding: 20px;
}

.wlc-success-message p {
	margin: 0;
	font-size: 18px;
	color: #25D366;
	font-weight: 600;
}

/* Responsive */
@media (max-width: 480px) {
	.wlc-floating-button {
		bottom: 65px;
		right: 15px;
		padding: 12px 20px;
		font-size: 14px;
	}
	
	.wlc-popup-content {
		padding: 25px 20px;
	}
	
	.wlc-popup-title {
		font-size: 20px;
	}
}

