/**
 * Finance Calculator Styles
 * Responsive design matching the calculator interface
 */

.fc-calculator-wrapper {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
	box-sizing: border-box;
}

.fc-calculator-container {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	background: var(--aqualight, #000);
	padding: 40px;
	border-radius: 8px;
	box-sizing: border-box;
}

/* Left Column: Input Section */
.fc-input-section {
	flex: 1;
	min-width: 300px;
	color: #fff;
}

.fc-header {
	margin-bottom: 40px;
}

.fc-title {
	font-size: 2.5rem;
	font-weight: 400;
	margin: 0 0 15px 0;
	color: #fff;
	line-height: 1.2;
}

.fc-description {
	font-size: 1rem;
	color: #ccc;
	margin: 0;
	line-height: 1.6;
}

.fc-form-section {
	margin-top: 30px;
}

.fc-section-title {
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin: 0 0 25px 0;
	color: #fff;
}

.fc-form {
	display: flex;
	flex-direction: column;
	gap: 25px;
}

.fc-form-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.fc-label {
	font-size: 0.875rem;
	font-weight: 500;
	color: #fff;
	display: block;
}

.fc-required {
	color: #ff6b6b;
}

.fc-account-type .fc-label {
	display: block;
	margin-bottom: 10px;
}

.fc-radio-group {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
}

.fc-radio-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	color: #fff;
}

.fc-radio-label .fc-radio {
	margin: 0;
}

.fc-input {
	width: 100%;
	padding: 12px 15px;
	font-size: 1rem;
	border: 1px solid #333;
	background: #1a1a1a;
	color: #fff;
	border-radius: 4px;
	transition: border-color 0.3s ease;
}

.fc-select {
	width: 100%;
	padding: 12px 15px;
	font-size: 1rem;
	border: 1px solid #333;
	background: #fff;
	color: #000;
	border-radius: 4px;
	transition: border-color 0.3s ease;
}

.fc-input:focus {
	outline: none;
	border-color: #00d4aa;
}

.fc-select:focus {
	outline: none;
	border-color: var(--brand-purple, #00d4aa);
}

.fc-input::placeholder {
	color: #888;
}

.fc-select {
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23000' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 15px center;
	padding-right: 40px;
}

.fc-calculate-btn {
	padding: 15px 30px;
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	background: var(--brand-purple, #00d4aa);
	color: #fff;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.3s ease, transform 0.1s ease, opacity 0.3s ease;
	margin-top: 10px;
}

.fc-calculate-btn:hover {
	background: var(--brand-purple, #00d4aa);
	opacity: 0.9;
	transform: translateY(-1px);
}

.fc-calculate-btn:active {
	transform: translateY(0);
}

.fc-calculate-btn:disabled {
	background: #666;
	cursor: not-allowed;
	transform: none;
}

/* Right Column: Results Section */
.fc-results-section {
	flex: 1;
	min-width: 300px;
}

.fc-results-card {
	background: #fff;
	border-radius: 8px;
	padding: 40px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.fc-results-card .fc-section-title {
	color: #000;
	margin-bottom: 30px;
}

.fc-result-item {
	margin-bottom: 35px;
}

.fc-result-item:last-child {
	margin-bottom: 0;
}

.fc-result-value {
	font-size: 2rem;
	font-weight: 600;
	color: #000;
	margin-bottom: 8px;
	line-height: 1.2;
}

.fc-result-label {
	font-size: 0.875rem;
	color: #666;
	line-height: 1.4;
}

.fc-terms {
	margin-top: 25px;
	padding-top: 20px;
	border-top: 1px solid #eee;
	color: #666;
	line-height: 12px;
    font-size: 11px;
    text-align: justify;
}

.fc-terms p:last-child {
	margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
	.fc-calculator-wrapper {
		padding: 15px;
	}
	
	.fc-calculator-container {
		flex-direction: column;
		padding: 25px;
		gap: 20px;
		width: 100%;
	}
	
	.fc-input-section,
	.fc-results-section {
		width: 100%;
		min-width: 0;
	}
	
	.fc-title {
		font-size: 2rem;
	}
	
	.fc-results-card {
		padding: 30px 25px;
		width: 100%;
		box-sizing: border-box;
	}
	
	.fc-result-value {
		font-size: 1.75rem;
	}
}

@media (max-width: 480px) {
	.fc-calculator-wrapper {
		padding: 10px;
	}
	
	.fc-calculator-container {
		padding: 20px;
		width: 100%;
	}
	
	.fc-input-section,
	.fc-results-section {
		width: 100%;
		min-width: 0;
	}
	
	.fc-title {
		font-size: 1.75rem;
	}
	
	.fc-description {
		font-size: 0.9rem;
	}
	
	.fc-results-card {
		padding: 25px 20px;
		width: 100%;
		box-sizing: border-box;
	}
	
	.fc-result-value {
		font-size: 1.5rem;
	}
}

/* Loading State */
.fc-calculating {
	opacity: 0.6;
	pointer-events: none;
}

/* Error States */
.fc-input.error {
	border-color: #ff6b6b;
}

.fc-error-message {
	color: #ff6b6b;
	font-size: 0.875rem;
	margin-top: 5px;
	display: none;
}

.fc-error-message.show {
	display: block;
}