/* DRT & DRAT Court Fees Calculator styles */

.ddfc-wrap {
	max-width: 720px;
	margin: 1.5em auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #1f2933;
	background: #ffffff;
	border: 1px solid #e2e5e9;
	border-radius: 10px;
	padding: 1.75em;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.ddfc-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
	margin-bottom: 1.5em;
	border-bottom: 2px solid #eef0f3;
	padding-bottom: 0.75em;
}

.ddfc-tab {
	flex: 1 1 auto;
	min-width: 150px;
	background: #f4f6f8;
	border: 1px solid #dfe3e8;
	color: #334155;
	padding: 0.65em 0.9em;
	font-size: 0.92em;
	font-weight: 600;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.ddfc-tab:hover {
	background: #e9edf1;
}

.ddfc-tab-active,
.ddfc-tab-active:hover {
	background: #0b5fff;
	border-color: #0b5fff;
	color: #ffffff;
}

.ddfc-panel {
	display: none;
}

.ddfc-panel-active {
	display: block;
	animation: ddfc-fade 0.2s ease;
}

@keyframes ddfc-fade {
	from { opacity: 0; transform: translateY(4px); }
	to { opacity: 1; transform: translateY(0); }
}

.ddfc-heading {
	margin: 0 0 0.35em;
	font-size: 1.2em;
	color: #0f172a;
}

.ddfc-sub {
	margin: 0 0 1.1em;
	font-size: 0.92em;
	color: #5b6472;
	line-height: 1.5;
}

.ddfc-label {
	display: block;
	font-weight: 600;
	font-size: 0.9em;
	margin: 0.9em 0 0.4em;
	color: #1f2933;
}

.ddfc-input {
	width: 100%;
	box-sizing: border-box;
	padding: 0.7em 0.85em;
	font-size: 1.05em;
	border: 1px solid #cbd2d9;
	border-radius: 6px;
	background: #fbfcfd;
}

.ddfc-input:focus {
	outline: none;
	border-color: #0b5fff;
	box-shadow: 0 0 0 3px rgba(11, 95, 255, 0.15);
}

.ddfc-radio-group {
	display: flex;
	flex-direction: column;
	gap: 0.5em;
	margin-bottom: 0.5em;
}

.ddfc-radio {
	font-size: 0.92em;
	display: flex;
	align-items: center;
	gap: 0.5em;
	cursor: pointer;
}

.ddfc-btn {
	margin-top: 1.2em;
	width: 100%;
	background: #0b5fff;
	color: #fff;
	border: none;
	padding: 0.8em 1em;
	font-size: 1em;
	font-weight: 700;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.15s ease;
}

.ddfc-btn:hover {
	background: #0949c7;
}

.ddfc-result {
	margin-top: 1.3em;
	background: #f6f9ff;
	border: 1px solid #d6e2ff;
	border-radius: 8px;
	padding: 1em 1.1em;
}

.ddfc-result-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.4em 0;
	font-size: 0.95em;
}

.ddfc-result-highlight {
	border-top: 1px dashed #c3d3f7;
	margin-top: 0.3em;
	padding-top: 0.7em;
	font-size: 1.15em;
	color: #0b3d91;
}

.ddfc-note {
	margin: 0.6em 0 0;
	font-size: 0.85em;
	color: #5b6472;
}

.ddfc-rule-box {
	margin-top: 1.4em;
	padding: 1em 1.1em;
	background: #fafbfc;
	border-left: 3px solid #0b5fff;
	border-radius: 4px;
	font-size: 0.86em;
	color: #3d4650;
}

.ddfc-rule-box ul {
	margin: 0.5em 0 0;
	padding-left: 1.2em;
}

.ddfc-rule-box li {
	margin-bottom: 0.3em;
	line-height: 1.45;
}

.ddfc-fine-print {
	margin: 0.8em 0 0;
	font-size: 0.9em;
	line-height: 1.5;
}

.ddfc-disclaimer {
	margin-top: 1.6em;
	padding-top: 1em;
	border-top: 1px solid #eef0f3;
	font-size: 0.78em;
	color: #7b8794;
	line-height: 1.5;
}

@media (max-width: 480px) {
	.ddfc-wrap {
		padding: 1.1em;
	}
	.ddfc-tab {
		min-width: 100%;
	}
}
