﻿@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500;700&display=swap');

:root {
	--primary-blue: rgb(62, 190, 239); /* 指定色系 */
	--light-blue: rgba(62, 190, 239, 0.1);
	--light-gold: #fcf8e8;
	--pure-gold: #d4af37;
	--heal-green: #4caf50;
	--soft-blue: #2196f3;
	--soft-purple: #9c27b0;
	--alert-red: #ef5350;
}

body {
	font-family: 'Noto Sans TC', sans-serif;
	background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
	color: #444;
	min-height: 100vh;
	overflow-x: hidden;
}

.aura-bg {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	background: radial-gradient(circle at 50% 50%, rgba(62, 190, 239, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
	animation: pulseAura 8s infinite alternate;
}

@keyframes pulseAura {
	0% {
		transform: scale(1);
		opacity: 0.5;
	}

	100% {
		transform: scale(1.2);
		opacity: 0.8;
	}
}

.glass-card {
	background: rgba(255, 255, 255, 0.75);
	backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 28px;
	box-shadow: 0 12px 40px rgba(62, 190, 239, 0.1);
	transition: all 0.4s ease;
}

.step-content {
	display: none;
	animation: fadeIn 0.5s ease-out forwards;
}

	.step-content.active {
		display: block;
	}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(15px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

input, select, textarea {
	background: rgba(255, 255, 255, 0.6);
	border: 1px solid #d1d5db;
	border-radius: 16px;
	padding: 18px 22px;
	width: 100%;
	transition: all 0.3s;
	font-size: 1rem;
	outline: none;
}

	input:focus, textarea:focus {
		border-color: var(--primary-blue);
		background: white;
		box-shadow: 0 0 0 4px rgba(62, 190, 239, 0.2);
	}

	input[readonly] {
		background: #ececec;
		color: #6b7280;
		border-color: #e5e7eb;
		cursor: not-allowed;
	}

.label-text {
	display: block;
	font-size: 0.95rem;
	font-weight: 500;
	margin-bottom: 10px;
	margin-left: 4px;
	color: #374151;
}

.nav-btn {
	background: var(--primary-blue);
	color: white;
	padding: 16px 32px;
	border-radius: 32px;
	font-weight: 600;
	transition: all 0.3s;
	box-shadow: 0 6px 20px rgba(62, 190, 239, 0.4);
}

.progress-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #d1d5db;
	margin: 0 6px;
	transition: all 0.4s;
}

	.progress-dot.active {
		background: var(--primary-blue);
		transform: scale(1.4);
	}

.bubble-btn {
	padding: 18px;
	border-radius: 20px;
	background: white;
	border: 1.5px solid transparent;
	box-shadow: 0 2px 8px rgba(0,0,0,0.03);
	cursor: pointer;
	transition: all 0.2s;
	text-align: center;
	font-size: 1rem;
}

	.bubble-btn:hover {
		transform: scale(1.05);
		box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
	}

	.bubble-btn.selected {
		border-color: var(--primary-blue);
		color: var(--primary-blue);
		box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
	}

.level-btn {
	width: 58px;
	height: 58px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: white;
	border: 2px solid #e5e7eb;
	cursor: pointer;
	transition: all 0.3s;
	font-weight: 700;
	font-size: 1.25rem;
}

.active-green {
	background: var(--heal-green) !important;
	color: white !important;
	border-color: var(--heal-green) !important;
}

.active-blue {
	background: var(--soft-blue) !important;
	color: white !important;
	border-color: var(--soft-blue) !important;
}

.active-purple {
	background: var(--soft-purple) !important;
	color: white !important;
	border-color: var(--soft-purple) !important;
}

.range-slider {
	-webkit-appearance: none;
	width: 100%;
	height: 12px;
	background: #e5e7eb;
	border-radius: 10px;
	outline: none;
}

	.range-slider::-webkit-slider-thumb {
		-webkit-appearance: none;
		width: 28px;
		height: 28px;
		background: var(--primary-blue);
		border-radius: 50%;
		cursor: pointer;
	}

.form-control {
	padding: 7px 10px;
}

.receiver-item {
	animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}


/* 評分按鈕樣式 */
.level-circle-btn {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 2px solid #e2e8f0;
	background: white;
	display: flex;
	items-center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s;
	font-weight: 600;
	color: #64748b;
	font-size: 0.9rem;
	line-height: 37px;
}

	.level-circle-btn.active {
		background: var(--primary-blue);
		color: white;
		border-color: var(--primary-blue);
		box-shadow: 0 4px 10px rgba(62, 190, 239, 0.3);
		transform: scale(1.1);
	}

.sub-level-card {
	background: rgba(255, 255, 255, 0.5);
	border-radius: 20px;
	padding: 16px;
	border: 1px solid #f1f5f9;
}


.d-block{
	display:block;
}

.text-center{
	text-align:center;
}

/*.light-select {
	padding: 7px 10px;
}*/

.select2-container--default .select2-selection--single{
	border-radius:16px !important;
}

.btn-back {
	text-align: center;
	line-height: 3;
}

.btn-submit {
	cursor:pointer;
}

.hidden{
	display:none;
}



/* RWD - HPracticeRecord */
@media (max-width: 768px) {
	.mobile-all {
		max-width: 100% !important;
	}

	h1.text-3xl {
		font-size: 1.5rem !important;
		line-height: 2rem !important;
	}

	#progress-container {
		margin-bottom: 1.25rem !important;
	}

	.progress-dot {
		width: 10px !important;
		height: 10px !important;
	}
	/* 兩欄改一欄（含：築基原因區塊、接光人區塊等） */
	.grid.grid-cols-2 {
		grid-template-columns: 1fr !important;
	}
	/* 讓按鈕在手機上更好點 */
	.nav-btn, .btn-back {
		width: 100% !important;
		display: block !important;
	}
	/* 多顆按鈕放一起時改成直排 */
	.flex.gap-3, .flex.gap-4 {
		flex-wrap: wrap !important;
	}

		.flex.gap-3 > .nav-btn, .flex.gap-4 > .nav-btn,
		.flex.gap-3 > .btn-back, .flex.gap-4 > .btn-back {
			flex: 1 1 100% !important;
		}
	/* 表單字體：避免 iOS 自動放大 */
	input[type="text"], input[type="number"], input[type="date"], select, textarea {
		font-size: 16px !important;
	}
	/* 接光人卡片 padding */
	.receiver-item {
		padding: 0.75rem !important;
	}
}

@media (max-width: 400px) {
	h1.text-3xl {
		font-size: 1.35rem !important;
	}
}