* {
	margin: 0;
	padding: 0;
}

*, *:after, *:before {
	box-sizing: border-box;
}

*:focus {
	outline-color: #f6821f;
}

html {
	font-size: 16px;
}

body {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #003682;
	background-color: #f8fbfb;
	font-family: system-ui,-apple-system,BlinkMacSystemFont,Inter,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizelegibility;
	overflow-x: hidden;
	line-height: 1.4;
	height: 100vh;
	width: 100vw;
}

main {
	padding: 2rem;
	max-width: 600px;
	border-radius: 4px;
	background-color: #fff;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

blockquote {
	display: block;
	font-size: 0.85rem;
	padding-left: 0.75rem;
	border-left: 4px solid #f6821f;
	margin-bottom: 1rem;
	margin-top: 0.5rem;
}

blockquote p {
	margin-bottom: 0.5rem;
}

.input {
  display: block;
  margin-bottom: 1rem;
	line-height: 1.6;
}

.input label,
.checklist > label {
	display: block;
	font-weight: bold;
}

.input input,
.input select {
	width: 100%;
  display: block;
	background: #fff;
	border-radius: 2px;
	border: 1px solid #000;
	padding: 0.375rem 0.5rem;
	min-height: 2rem;
	height: 2rem;
}

.checklist li {
	list-style: none;
	padding-left: 0.5rem;
	margin-bottom: 0.25rem;
}

.checklist input {
	margin-right: 0.25rem;
}

.hidden {
    display: none;
}

button {
	width: 100%;
	display: block;
	cursor: pointer;
	margin-top: 1.5rem;
	background-color: #f6821f;
	border-radius: 2px;
	font-weight: bold;
	padding: 0.75rem;
	outline: none;
	border: none;
	color: #fff;
}

button:hover {
	background-color: #d86300;
}


#popup {
    width: 80%; /* 彈窗寬度為表單寬度的 80% */
    max-width: 500px; /* 最大寬度設定為 500px */
    padding: 1.5rem; /* 彈窗內邊距 */
    background-color: #fff; /* 背景色為白色 */
    border-radius: 4px; /* 邊框圓角 */
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px; /* 加入陰影 */
    z-index: 1000; /* 彈窗層級較高 */
    transform: translateX(-50%); /* 設定居中 */
    position: fixed; /* 固定定位 */
    top: 50%; /* 垂直居中 */
    left: 50%; /* 水平居中 */
    display: none; /* 預設隱藏 */
    max-height: 90vh; /* 設定最大高度為視窗的 90% */
    overflow-y: auto; /* 當內容超出時，顯示滾動條 */
}

#popup-content {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    text-align: center; /* 文字居中 */
}

#popup button {
    margin-top: 1rem;
    background-color: #f6821f; /* 按鈕背景色 */
    border-radius: 2px; /* 按鈕圓角 */
    padding: 0.75rem; /* 按鈕內邊距 */
    color: #fff; /* 按鈕文字顏色 */
    font-weight: bold;
    width: auto; /* 按鈕寬度依內容自適應 */
    margin: 0 auto; /* 按鈕居中 */
    display: block;
}

#popup button:hover {
    background-color: #d86300; /* 按鈕懸停顏色 */
}


