.floating-group {
	position: relative;
	margin-bottom: 1rem;
}
.floating-group textarea {
	width: 100%;
	padding: 1rem 0.75rem 0.5rem 0.75rem;
	font-size: 1rem;
	border: 1px solid #cfdfed;
	border-radius: 14px;
	background: white;
	transition: all 0.3s ease;
	outline: none;
	font-family: inherit;
}
.floating-group textarea:focus {
	border-color: #50b563;
	box-shadow: 0 0 0 3px #e0f0d3;
}

.btn-enviar {
	width: auto;
	margin: 0 auto;
}
/* ===== GRID DE DOS COLUMNAS ===== */
.form-grid-two {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	margin-bottom: 1.5rem;
}

.form-section-full {
	grid-column: 1 / -1;
	text-align: center;
}

/* ===== RESPONSIVE: MÓVIL ===== */
@media (max-width: 768px) {
	.form-grid-two {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.form-section {
		padding: 1.2rem;
	}

	.plan-selector {
		flex-direction: row;
	}

	.duration-selector {
		flex-direction: row;
	}

	.payment-group {
		flex-direction: row;
		align-items: stretch;
	}

	.payment-group label {
		margin-bottom: 0.3rem;
	}
}

/* ===== ESTILOS EXISTENTES MEJORADOS ===== */
.form-section {
	background: #f8fafc;
	border-radius: 16px;
	padding: 1.5rem;
	border: 1px solid #eef2f7;
}

.form-section h2 {
	font-size: 1rem;
	color: #4d4d4d;
	margin-bottom: 0.5rem;
	font-family: "Muli-Bold";
}

.form-section .section-desc {
	border-left: 4px solid #50b563;
	font-size: 0.8rem;
	color: #7e8fa8;
	margin-bottom: 1rem;
	line-height: 1.4;
	padding: 0 0 0 1rem;
}

/* ===== PLAN SELECTOR ===== */
.plan-selector {
	display: flex;
	gap: 1rem;
	margin-bottom: 1.2rem;
}

.plan-option {
	flex: 1;
	min-width: 0; /* Permite que se encoja correctamente */
	padding: 0 0.5rem;
	border: 2px solid #cfdfed;
	border-radius: 14px;
	cursor: pointer;
	text-align: center;
	transition: all 0.3s ease;
	background: white;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.plan-option:hover {
	border-color: #50b563;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(80, 181, 99, 0.15);
}

.plan-option.selected {
	border-color: #50b563;
	background: #f0fff4;
	box-shadow: 0 4px 12px rgba(80, 181, 99, 0.2);
}

/* Wrapper de la imagen - para centrar y mantener proporción */
.plan-image-wrapper {
	width: 100%;
	max-width: 180px;
	height: 70px; /* Altura fija para mantener consistencia */
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 0.5rem;
	overflow: hidden;
}

.plan-image {
	width: 100%;
	height: 100%;
	object-fit: contain; /* Mantiene proporción sin deformar */
	max-width: 100%;
	max-height: 100%;
	display: block;
	transition: transform 0.3s ease;
}

.plan-option:hover .plan-image {
	transform: scale(1.05);
}

.plan-option .plan-price {
	font-size: 1.4rem;
	font-weight: bold;
	color: #4d4d4d;
	font-family: "Muli-Bold";
	line-height: 1.2;
}

.plan-option .plan-label {
	font-size: 0.7rem;
	color: #7e8fa8;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.plan-option .plan-users {
	font-size: 0.65rem;
	color: #7e8fa8;
	margin-top: 0.2rem;
}

.plan-option .plan-badge {
	position: absolute;
	top: -8px;
	right: -8px;
	background: #d50101;
	color: white;
	font-size: 0.55rem;
	font-weight: bold;
	padding: 2px 10px;
	border-radius: 12px;
	animation: pulse-badge 2s infinite;
}

/* Animación sutil para el badge */
@keyframes pulse-badge {
	0%,
	100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.05);
	}
}

/* ===== RESPONSIVE: MÓVIL ===== */
@media (max-width: 550px) {
	.floating-group textarea {
		font-size: 0.9rem;
		padding: 0.9rem 0.6rem 0.4rem 0.6rem;
	}
	.plan-selector {
		gap: 0.6rem;
	}

	.plan-option {
		padding: 0.8rem 0.3rem;
	}

	.plan-image-wrapper {
		height: 50px;
		max-width: 120px;
	}

	.plan-option .plan-price {
		font-size: 1.1rem;
	}

	.plan-option .plan-label {
		font-size: 0.6rem;
	}

	.plan-option .plan-users {
		font-size: 0.55rem;
	}

	.plan-option .plan-badge {
		font-size: 0.45rem;
		padding: 1px 8px;
		top: -6px;
		right: -6px;
	}
}

@media (max-width: 400px) {
	.plan-image-wrapper {
		height: 40px;
		max-width: 100px;
	}

	.plan-option .plan-price {
		font-size: 1rem;
	}

	.plan-option {
		padding: 0.6rem 0.2rem;
	}

	.payment-group {
		flex-direction: column;
		align-items: stretch;
		gap: 0.3rem;
	}

	.payment-group label {
		min-width: auto;
		text-align: center;
	}
}

/* Para tablets y pantallas pequeñas */
@media (min-width: 551px) and (max-width: 768px) {
	.plan-image-wrapper {
		height: 60px;
		max-width: 150px;
	}
}

/* ===== DURATION SELECTOR ===== */
.duration-selector {
	display: flex;
	gap: 1rem;
	margin-bottom: 1.2rem;
}

.duration-option {
	flex: 1;
	padding: 0.8rem;
	border: 2px solid #cfdfed;
	border-radius: 14px;
	cursor: pointer;
	text-align: center;
	transition: all 0.3s ease;
	background: white;
}

.duration-option:hover {
	border-color: #50b563;
}

.duration-option.selected {
	border-color: #50b563;
	background: #f0fff4;
}

.duration-option .price {
	font-size: 1.5rem;
	font-weight: bold;
	color: #4d4d4d;
	font-family: "Muli-Black";
}

.duration-option .label {
	text-transform: uppercase;
	font-family: "Muli-Black";
	font-size: 0.7rem;
	color: #7e8fa8;
	font-weight: 500;
}

.duration-option .discount-badge {
	color: #d50101;
	font-weight: bold;
}

/* ===== PAYMENT GROUP ===== */
.payment-group {
	display: flex;
	align-items: center;
	gap: 1rem;
	border: 2px solid #50b563;
	border-radius: 14px;
	padding: 0.6rem 1rem;
	margin-bottom: 1rem;
	background: white;
}

.payment-group label {
	font-weight: 600;
	font-size: 0.85rem;
	color: #4d4d4d;
	white-space: nowrap;
	font-family: "Muli-Bold";
	min-width: 120px;
}

.payment-select {
	flex: 1;
	padding: 0.6rem 0.8rem;
	border: 1px solid #cfdfed;
	border-radius: 10px;
	font-family: inherit;
	font-size: 0.9rem;
	background: white;
	cursor: pointer;
	color: #4d4d4d;
	min-width: 0;
}

.payment-select:focus {
	outline: none;
	border-color: #50b563;
	box-shadow: 0 0 0 3px #e0f0d3;
}

/* ===== PRICE SUMMARY ===== */
.price-summary {
	width: 100%;
	margin: 1rem 0 0.5rem;
	border-collapse: collapse;
}

.price-summary td {
	padding: 0.3rem 0.5rem;
	font-size: 0.9rem;
	color: #4d4d4d;
}

.price-summary .label {
	text-align: right;
	font-weight: 500;
}

.price-summary .amount {
	font-size: 1.6rem;
	font-weight: bold;
	color: #4d4d4d;
	text-align: right;
	font-family: "Muli-Bold";
	padding-left: 1rem;
}

.price-summary .total-label {
	font-size: 1rem;
	font-family: "Muli-Bold";
}

.price-summary .total-amount {
	font-size: 2rem;
	color: #50b563;
}

/* ===== CHECKBOX GROUP ===== */
.checkbox-group {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0.5rem 0;
}

.checkbox-group input[type="checkbox"] {
	width: 18px;
	height: 18px;
	accent-color: #50b563;
	cursor: pointer;
	flex-shrink: 0;
}

.checkbox-group label {
	font-size: 0.85rem;
	color: #4d4d4d;
	cursor: pointer;
}

.checkbox-group label b {
	color: #50b563;
}

/* ===== INPUT HINT ===== */
.input-hint {
	font-size: 0.75rem;
	color: #7e8fa8;
	margin-top: 0.2rem;
	display: block;
}

/* ===== RESPONSIVE AJUSTES ===== */
@media (max-width: 550px) {
	.form-section {
		padding: 1rem;
	}

	.payment-group {
		flex-direction: row; /* Sigue en fila en móvil */
		flex-wrap: wrap;
		padding: 0.6rem 0.8rem;
	}

	.payment-group label {
		min-width: 80px;
		font-size: 0.8rem;
	}

	.payment-select {
		flex: 1;
		min-width: 100px;
		font-size: 0.8rem;
		padding: 0.4rem 0.6rem;
	}

	.price-summary .amount {
		font-size: 1.3rem;
	}

	.price-summary .total-amount {
		font-size: 1.6rem;
	}

	.plan-option .plan-price {
		font-size: 1.2rem;
	}

	.duration-option .price {
		font-size: 1.2rem;
	}
}
