body {
	font-family: "Noto Sans TC", sans-serif;
}

.form-section {
	transition: all 0.3s ease;
}

.form-section:hover {
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.step-badge {
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	font-weight: bold;
	flex-shrink: 0;
}

.input-focus {
	transition: all 0.2s ease;
}

.input-focus:focus {
	border-color: #3b82f6;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.radio-btn {
	transition: all 0.2s ease;
}

.radio-btn:hover {
	background-color: #f8fafc;
}

.radio-btn input:checked + .radio-label {
	color: #2563eb;
	font-weight: 500;
}

.radio-btn input:checked + .radio-label:before {
	border-color: #2563eb;
	background-color: #2563eb;
	box-shadow: inset 0 0 0 3px white;
}

.summary-card {
	transition: all 0.3s ease;
}

.summary-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.tooltip {
	position: relative;
}

.tooltip:hover .tooltip-text {
	visibility: visible;
	opacity: 1;
}

.tooltip-text {
	visibility: hidden;
	width: 200px;
	background-color: #1e293b;
	color: #fff;
	text-align: center;
	border-radius: 6px;
	padding: 8px;
	position: absolute;
	z-index: 1;
	bottom: 125%;
	left: 50%;
	transform: translateX(-50%);
	opacity: 0;
	transition: opacity 0.3s;
	font-size: 12px;
	font-weight: normal;
}

.tooltip-text:after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: #1e293b transparent transparent transparent;
}

/* Custom styling for name input */
.name-input-container {
	position: relative;
}

.name-input-container .input-icon {
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
	color: #9ca3af;
}

/* Custom styling for resident type options */
.resident-option {
	display: flex;
	align-items: center;
	padding: 0.75rem;
	border: 1px solid #e5e7eb;
	border-radius: 0.5rem;
	cursor: pointer;
	transition: all 0.2s ease;
}

.resident-option:hover {
	background-color: #f9fafb;
}

.resident-option input:checked + .radio-label {
	color: #2563eb;
	font-weight: 500;
}

.resident-option input:checked + .radio-label:before {
	border-color: #2563eb;
	background-color: #2563eb;
	box-shadow: inset 0 0 0 3px white;
}

/* Cash payment confirmation */
.cash-confirmation {
	display: flex;
	align-items: center;
	margin-top: 1rem;
	padding: 0.75rem;
	background-color: #f3f4f6;
	border-radius: 0.5rem;
}

.cash-confirmation input {
	margin-right: 0.5rem;
}
