.container {
	position: relative;
	height: 550px;
	display: flex;
	margin: 20px auto;
	justify-content: center;
}

/* 计时器容器 */
.timer-container {
	position: absolute;
	top: 30px;
	width: 390px;
	height: 390px;
	background-color: #151a30; /* 原--very-dark-blue */
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	box-shadow: 7px 7px 22px rgba(21, 43, 74, 0.4),
		inset 7px 7px 7px rgba(255, 255, 255, 0.55),
		-9px -9px 15px rgba(255, 255, 255, 1);
}

.timer-content {
	width: 90%;
	height: 90%;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	transition: 0.4s;
}

.timer-content h2 {
	font-size: 4rem;
	font-weight: 600;
	padding: 0.5rem;
	color: #f15c5c; /* 默认主题色 */
}

#timer {
	font-size: 4rem;
	border-radius: 40px;
	font-weight: 600;
	background-color: #151a30; /* 原--very-dark-blue */
	box-shadow: 7px 7px 22px rgba(21, 43, 74, 0.4),
		inset 7px 7px 7px rgba(7, 6, 6, 0.55),
		-9px -9px 15px rgb(17, 1, 1);
}

/* 主题颜色控制 */
.container.red .timer-content h2,
.container.red #timer { color: #ff2d6d; } /* 红主题 */

.container.yellow .timer-content h2,
.container.yellow #timer { color: #ffff00; } /* 黄主题 */

.container.green .timer-content h2,
.container.green #timer { color: #00ff2a; } /* 绿主题 */

.timer-content button {
	border: none;
	background-color: transparent;
	color: #9093c4; /* 原--blue-gray */
	padding: 1rem;
	letter-spacing: 10px;
	cursor: pointer;
}

#config {
	background-color: transparent;
	border: none;
	cursor: pointer;
	position: absolute;
	bottom: 35px;
}

#config img {
	width: 24px;
}

/* 选项按钮容器 */
.option-btn-container {
	padding: 0.5rem;
	background-color: #151a30; /* 原--very-dark-blue */
	border-radius: 32px;
	display: flex;
	flex-wrap: nowrap;
	position: absolute;
	bottom: 50px;
}

.option-btn {
	padding: 0.75rem 1.25rem;
	border: none;
	border-radius: 24px;
	font-weight: bold;
	background-color: transparent;
	color: #9093c4; /* 原--blue-gray */
	cursor: pointer;
	transition: 0.4s;
}

.option-btn.active-option-btn {
	background-color: #f15c5c; /* 默认主题色 */
	color: #181c3f; /* 原--dark-blue */
}

/* 不同主题的激活按钮 */
.container.red .option-btn.active-option-btn { background-color: #ff2d6d; }
.container.yellow .option-btn.active-option-btn { background-color: #ffff00; }
.container.green .option-btn.active-option-btn { background-color: #00ff2a; }

/* 设置弹窗 */
.hidden { display: none; }

.settings-modal {
	max-width: 450px;
	padding: 1.5rem 1.5rem 3rem 1.5rem;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #fff; 
	border-radius: 24px;
	color: #181c3f; 
	z-index: 10;
}

.settings-modal .header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
}

.settings-modal .header #closeBtn {
	padding: 0.25rem;
	background-color: transparent;
	border: none;
	font-size: 1.25rem;
	font-weight: bold;
	color: #9093c4; /* 原--blue-gray */
	cursor: pointer;
}

.settings-modal h4 { margin-bottom: 0.75rem; }

.settings-modal form {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.settings-modal form .input-container { width: 33.3%; }

.settings-modal form label {
	margin-top: 0.5rem;
	font-size: 0.75rem;
	color: #9093c4; /* 原--blue-gray */
}

.settings-modal form input {
	max-width: 95%;
	padding: 0.5rem;
	height: 42px;
	border: none;
	border-radius: 8px;
	background-color: #e8eaf9; /* 原--light-blue-gray */
	font-weight: bold;
	color: #181c3f; /* 原--dark-blue */
}

.settings-modal form input:focus {
	outline: 1px solid #9093c4; /* 原--blue-gray */
}

.settings-modal #apply {
	position: absolute;
	bottom: -24px;
	left: 50%;
	transform: translateX(-50%);
	background-color: #181c3f; /* 原--dark-blue */
	color: white;
	font-weight: bold;
	padding: 0.75rem 1.5rem;
	border-radius: 24px;
	border: none;
	cursor: pointer;
}

.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(3px);
	z-index: 5;
}