body {
	margin: 0;
	padding: 20px;
	font-family: system-ui, -apple-system, sans-serif;
	background: #f5f5f5;
	color: #333;
}

.container {
	max-width: 600px;
	margin: 0 auto;
	background: white;
	padding: 24px;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

h1 {
	margin: 0 0 24px 0;
	font-size: 24px;
	color: #333;
}

.form-group {
	margin-bottom: 20px;
}

label {
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
}

input[type="text"],
input[type="password"],
input[type="url"],
select {
	width: 100%;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 14px;
	box-sizing: border-box;
}

input:focus,
select:focus {
	outline: none;
	border-color: #4caf50;
}

.input-group {
	display: flex;
	gap: 8px;
}

.input-group input {
	flex: 1;
}

.help-text {
	margin-top: 4px;
	font-size: 12px;
	color: #666;
}

.range-group {
	display: flex;
	align-items: center;
	gap: 12px;
}

input[type="range"] {
	flex: 1;
}

#temperatureValue {
	min-width: 36px;
	text-align: right;
	color: #666;
}

.button-group {
	display: flex;
	justify-content: flex-end;
	gap: 12px;
	margin-top: 24px;
}

.primary-btn,
.secondary-btn {
	padding: 10px 20px;
	border: none;
	border-radius: 6px;
	font-size: 14px;
	cursor: pointer;
	font-weight: 500;
}

.primary-btn {
	background: #4caf50;
	color: white;
}

.primary-btn:hover {
	background: #45a049;
}

.secondary-btn {
	background: #f5f5f5;
	color: #333;
}

.secondary-btn:hover {
	background: #e0e0e0;
}

.icon-btn {
	background: none;
	border: none;
	color: #4caf50;
	cursor: pointer;
	padding: 10px;
	font-size: 14px;
}

.icon-btn:hover {
	text-decoration: underline;
}

.status-message {
	margin-top: 10px;
	padding: 8px;
	border-radius: 4px;
	font-size: 14px;
	text-align: center;
	transition: all 0.3s ease;
}

#promptTemplate {
	width: 100%;
	resize: vertical;
	min-height: 100px;
}

.template-presets {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 8px;
}

.preset-btn {
	background-color: #f1f1f1;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 6px 10px;
	font-size: 14px;
	cursor: pointer;
}

.preset-btn:hover {
	background-color: #e9e9e9;
}

/* 添加快捷键设置样式 */
.shortcut-info-box {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #f5f5f5;
	padding: 10px 15px;
	border-radius: 6px;
	margin-bottom: 8px;
}

.shortcut-info-box #currentShortcut {
	font-weight: bold;
	background-color: #e9f5e9;
	color: #4CAF50;
	padding: 3px 8px;
	border-radius: 4px;
	margin-left: 8px;
}

#changeShortcut {
	padding: 6px 12px;
	font-size: 13px;
	background-color: #f0f0f0;
}

#changeShortcut:hover {
	background-color: #e6e6e6;
}
