/* Feeling Company - Simulador de Crédito */
:root {
	--fc-navy: #0d1b3e;
	--fc-navy-light: #152a52;
	--fc-orange: #f26522;
	--fc-orange-hover: #d95518;
	--fc-gray-bg: #f0f2f5;
	--fc-gray-text: #6b7280;
	--fc-white: #ffffff;
	--fc-radius: 20px;
	--fc-shadow: 0 12px 40px rgba(13, 27, 62, 0.1);
	--fc-font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

.fc-cs-wrap {
	position: relative;
	font-family: var(--fc-font);
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	padding: 2.5rem 1.5rem 3.5rem;
	overflow: hidden;
	box-sizing: border-box;
}

.fc-cs-block-root .fc-cs-wrap {
	width: 100%;
}

.fc-cs-decor--flower {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 140px;
	height: 140px;
	border: 3px solid #2dd4bf;
	border-radius: 50% 50% 0 50%;
	opacity: 0.35;
	pointer-events: none;
}

.fc-cs-header {
	text-align: center;
	margin-bottom: 2.5rem;
	position: relative;
	z-index: 1;
}

.fc-cs-tagline {
	color: var(--fc-orange);
	font-size: 1rem;
	font-weight: 600;
	margin: 0 0 0.75rem;
}

.fc-cs-heading {
	color: var(--fc-navy);
	font-size: clamp(1.75rem, 3.5vw, 2.75rem);
	font-weight: 800;
	line-height: 1.15;
	margin: 0 0 1rem;
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}

.fc-cs-subheading {
	color: var(--fc-gray-text);
	font-size: 1.05rem;
	line-height: 1.65;
	max-width: 780px;
	margin: 0 auto;
}

.fc-cs-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	position: relative;
	z-index: 1;
	align-items: stretch;
}

@media (max-width: 900px) {
	.fc-cs-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
}

.fc-cs-panel {
	border-radius: var(--fc-radius);
	padding: 2.25rem 2.5rem;
	box-shadow: var(--fc-shadow);
	box-sizing: border-box;
}

.fc-cs-panel--form {
	background: var(--fc-gray-bg);
}

.fc-cs-panel--result {
	background: var(--fc-navy);
	color: var(--fc-white);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-height: 380px;
	padding: 2.5rem 2rem;
}

.fc-cs-field {
	margin-bottom: 1.35rem;
}

.fc-cs-field label,
.fc-cs-label {
	display: block;
	font-weight: 600;
	color: var(--fc-navy);
	margin-bottom: 0.45rem;
	font-size: 0.95rem;
}

.fc-cs-field input[type="text"],
.fc-cs-field select,
.fc-cs-amount,
.fc-cs-credit-type,
.fc-cs-term,
.fc-cs-insurance {
	width: 100%;
	padding: 0.85rem 1.1rem;
	border: 1px solid #d1d5db;
	border-radius: 12px;
	font-size: 1.05rem;
	background: var(--fc-white);
	color: var(--fc-navy);
	box-sizing: border-box;
}

.fc-cs-amount {
	font-size: 1.15rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.fc-cs-field input:focus,
.fc-cs-field select:focus,
.fc-cs-amount:focus,
.fc-cs-credit-type:focus,
.fc-cs-term:focus,
.fc-cs-insurance:focus {
	outline: 2px solid var(--fc-orange);
	border-color: transparent;
}

.fc-cs-hint {
	display: block;
	margin-top: 0.4rem;
	color: var(--fc-gray-text);
	font-size: 0.85rem;
}

.fc-cs-field--checkbox label {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	font-weight: 400;
	font-size: 0.88rem;
	cursor: pointer;
	color: var(--fc-navy);
}

.fc-cs-insurance-group {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	margin-top: 0.35rem;
}

.fc-cs-insurance-option {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	padding: 0.75rem 1rem;
	background: #fff;
	border: 1px solid #d1d5db;
	border-radius: 10px;
	cursor: pointer;
	font-size: 0.9rem;
	color: var(--fc-navy);
	transition: border-color 0.15s, background 0.15s;
}

.fc-cs-insurance-option:hover {
	border-color: var(--fc-orange);
}

.fc-cs-insurance-option:has(input:checked) {
	border-color: var(--fc-orange);
	background: #fff8f5;
}

.fc-cs-insurance-option.is-disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.fc-cs-insurance-option input {
	margin-top: 3px;
	accent-color: var(--fc-orange);
}

.fc-cs-vida-badge {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	background: rgba(13, 27, 62, 0.06);
	border: 1px solid rgba(13, 27, 62, 0.1);
	border-radius: 10px;
	padding: 0.75rem 1rem;
	font-size: 0.85rem;
	color: var(--fc-navy);
	margin-bottom: 1.25rem;
	line-height: 1.45;
}

.fc-cs-vida-badge__icon {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	background: #16a34a;
	color: #fff;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 700;
}

.fc-cs-form-footer {
	margin-top: 0.5rem;
}

.fc-cs-btn {
	display: inline-block;
	width: 100%;
	padding: 1rem 1.75rem;
	border: none;
	border-radius: 12px;
	font-size: 1.05rem;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.2s, transform 0.15s;
	box-sizing: border-box;
	text-align: center;
}

.fc-cs-btn--primary {
	background: var(--fc-orange);
	color: var(--fc-white);
}

.fc-cs-btn--primary:hover {
	background: var(--fc-orange-hover);
}

.fc-cs-btn--primary:disabled {
	opacity: 0.65;
	cursor: not-allowed;
}

.fc-cs-btn--cta {
	background: var(--fc-orange);
	color: var(--fc-white);
	margin: 1.5rem 0 0;
	max-width: 320px;
}

.fc-cs-btn--cta:hover {
	background: var(--fc-orange-hover);
	color: var(--fc-white);
}

.fc-cs-error {
	color: #b91c1c;
	background: #fef2f2;
	padding: 0.85rem 1rem;
	border-radius: 10px;
	font-size: 0.9rem;
	margin-top: 1rem;
	width: 100%;
	box-sizing: border-box;
}

.fc-cs-result-block {
	width: 100%;
}

.fc-cs-result-label {
	font-size: 0.95rem;
	opacity: 0.88;
	margin: 0 0 0.35rem;
	font-weight: 500;
}

.fc-cs-result-credit-amount {
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	font-weight: 700;
	margin: 0 0 0.5rem;
	opacity: 0.95;
}

.fc-cs-wrap.fc-cs--has-credit .fc-cs-result-credit-amount {
	opacity: 1;
}

.fc-cs-result-divider {
	width: 60%;
	height: 1px;
	background: rgba(255, 255, 255, 0.25);
	margin: 1.25rem 0;
}

.fc-cs-result-amount {
	font-size: clamp(2.75rem, 6vw, 4rem);
	font-weight: 800;
	margin: 0;
	letter-spacing: -0.02em;
	line-height: 1.1;
}

.fc-cs-wrap.fc-cs--calculated .fc-cs-result-amount {
	color: #fff;
	animation: fc-cs-pulse 0.4s ease;
}

@keyframes fc-cs-pulse {
	0% { transform: scale(0.96); opacity: 0.7; }
	100% { transform: scale(1); opacity: 1; }
}

.fc-cs-breakdown {
	width: 100%;
	text-align: left;
	font-size: 0.82rem;
	opacity: 0.88;
	margin-top: 1.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.fc-cs-breakdown dl {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 0.4rem 1rem;
	margin: 0;
}

.fc-cs-breakdown__title {
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	opacity: 0.85;
	margin: 0 0 0.75rem;
}

.fc-cs-breakdown__total {
	font-weight: 800 !important;
	font-size: 0.95rem;
	padding-top: 0.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.25);
	margin-top: 0.25rem;
}

.fc-cs-breakdown__note {
	font-size: 0.75rem;
	opacity: 0.75;
	margin: 0.75rem 0 0;
	line-height: 1.45;
}

.fc-cs-disbursement {
	width: 100%;
	text-align: left;
	font-size: 0.78rem;
	opacity: 0.8;
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px dashed rgba(255, 255, 255, 0.25);
}

.fc-cs-disbursement dl {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 0.35rem 1rem;
	margin: 0;
}

.fc-cs-breakdown dt {
	margin: 0;
	font-weight: 400;
}

.fc-cs-breakdown dd {
	margin: 0;
	text-align: right;
	font-weight: 600;
}

.fc-cs-result-note {
	font-size: 0.78rem;
	opacity: 0.72;
	margin-top: auto;
	padding-top: 1.5rem;
	max-width: 320px;
	line-height: 1.45;
}

.fc-cs-whatsapp {
	position: fixed;
	bottom: 1.5rem;
	right: 1.5rem;
	width: 56px;
	height: 56px;
	background: #25d366;
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
	z-index: 100;
	transition: transform 0.2s;
}

.fc-cs-whatsapp:hover {
	transform: scale(1.08);
	color: #fff;
}

.fc-cs-wrap.fc-cs--loading .fc-cs-result-amount,
.fc-cs-wrap.fc-cs--loading .fc-cs-result-credit-amount {
	opacity: 0.5;
}

.fc-cs-block-root.alignwide,
.fc-cs-block-root.alignfull {
	max-width: none;
	width: 100%;
}

.fc-cs-block-root.alignfull .fc-cs-wrap {
	max-width: 100% !important;
	width: 100%;
}
