body {
  font-family: 'Arial', sans-serif;
  background-color: #111827;
  color: white;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
}

.settings-container {
  width: 90%;
  height: 90vh;
  display: flex;
  flex-direction: row;
  background-color: #2D3748;
  padding: 20px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.tab-list {
  width: 250px;
  background-color: #1f2937;
  padding: 20px;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  max-height: 100%;
  overflow-y: auto;
}

.my-extension-header {
  width: 100%;
  text-align: center;
  margin-bottom: 30px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 15px;
  padding: 15px 0;
}

.my-extension-logo {
  height: 48px;
  width: 48px;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
  transition: transform 0.3s ease;
}

.my-extension-logo:hover {
  transform: scale(1.05);
}

.my-extension-brand {
  font-size: 24px;
  font-weight: 600;
  background: linear-gradient(90deg, #4776E6, #8E54E9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.my-extension-brand:hover {
  transform: translateY(-2px);
}

/* 语言切换器样式 */
.language-switcher {
  position: absolute;
  right: 0;
  top: 0;
}

#language-selector {
  background-color: #1f2937;
  color: white;
  border: 1px solid #384152;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 14px;
  cursor: pointer;
  outline: none;
}

#language-selector:hover {
  border-color: #4d5568;
}

#language-selector option {
  background-color: #1f2937;
  color: white;
}

.tab-link {
  display: flex;
  align-items: center;
  padding: 10px;
  width: 100%;
  cursor: pointer;
  background: none;
  border: none;
  color: white;
  text-decoration: none;
  margin-bottom: 5px;
  justify-content: flex-start; 
  min-width: 150px; /* 设置按钮的最小宽度，确保一致性 */
}

.tab-link:hover, .tab-link.active {
  background-color: #374151;
}

.tab-link svg {
  margin-right: 8px;
  width: 24px;
  height: 24px; 
}

.tab-link span {
  font-size: 15px;
  font-weight: 500;
}

.collapsible-content {
  display: none;
  margin-left: -30px;
  flex-direction: column;
}
.collapsible.active + .collapsible-content {
  display: flex;
}

.tab-content {
  flex-grow: 1;
  padding: 20px;
  display: none;
  background-color: #1A202C;
  color: #CBD5E0;
  border-radius: 8px;
  height: 100%;
  overflow-y: auto;
  scrollbar-width: thin;
}

.tab-content::-webkit-scrollbar {
  width: 8px;
}

.tab-content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.tab-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.tab-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

.tab-content.active {
  display: block;
}

.tab-content h3 {
  margin-top: 0;
  color: #E2E8F0; /* 浅灰色的标题颜色 */
}

.tab-content ul {
  list-style-type: none; /* 移除列表点 */
  padding: 0;
}

.tab-content li {
  background-color: #2D3748; /* 为列表项添加背景色 */
  padding: 8px;
  margin-bottom: 5px;
  border-radius: 4px;
  display: inline-block;
}

.tab-content li a {
  color: #28a745;
  text-decoration: none;
}

.tab-content li a:hover {
  text-decoration: underline;
}

.save-button, .quicktrans-save-btn, .checkapi-button {
  padding: 8px 16px;
  background-color: #4A5568;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s;
  margin-top: 0;
}

.checkapi-button {
  margin-left: 10px;
}

.save-button:hover, .quicktrans-save-btn:hover, .checkapi-button:hover {
  background-color: #4caf50;
}

.hidden {
  display: none;
}

.save-message, .checkapi-message{
  color: #38A169;
  margin-top: 10px;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 4px;
  background-color: rgba(56, 161, 105, 0.1);
  border-left: 3px solid #38A169;
  animation: fadeInOut 2s ease-in-out;
}

@keyframes fadeInOut {
  0% { opacity: 0; transform: translateY(-10px); }
  20% { opacity: 1; transform: translateY(0); }
  80% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(0); }
}

.password-wrapper, .baseurl-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  height: 48px;
  width: 50%;
}

.api-key-input, .baseurl-input, .model-input {
  flex-grow: 1;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  padding-right: 40px;
}

.toggle-password {
  background: none;
  border: none;
  position: absolute;
  right: 10px;
  cursor: pointer;
  height: 100%; 
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.toggle-password svg {
  width: 16px;
  height: 16px;
}


.social-link {
  display: inline-block;
  margin: 5px;
  width: 40px;
  height: 40px;
}

.social-link:hover svg {
  transform: scale(1.2);  /* 鼠标悬停时图标放大 */
}

.twitter-svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease; 
  fill: white;
}

.github-svg {
  fill: #333;
  stroke: white;
  width: 24px;
  height: 24px; 
}

.explanation-image {
  width: 100%;
  height: auto;
  max-width: 600px;
  margin-top: 30px;
}

.toggle-container {
  display: flex;
  align-items: center;
  justify-content: left;
  margin-top: 20px;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}
input:checked + .slider {
  background-color: #2196F3;
}
input:checked + .slider:before {
  transform: translateX(26px);
}

.toggle-label, .select-label {
  font-size: 16px;
  margin-right: 10px;
  vertical-align: middle;
}

.model-selection-container {
  margin-top: 20px;
}

.model-select {
  width: 30%;
  padding: 5px;
  font-size: 16px;
}

.ollama-instructions {
    padding: 5px;
    max-width: 100%;
    overflow-x: hidden;
    background-color: #1f2937;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    color: #f8f9fa;
}

.instruction-step {
    margin-bottom: 5px;
    display: flex;
    position: relative;
    align-items: flex-start;
}

.instruction-number {
    background-color: #3859FF;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

.command-block {
    background-color: #282c34;
    color: #ffffff;
    padding: 10px;
    border-radius: 5px;
    font-family: monospace;
    margin: 8px 0;
    overflow-x: auto;
    display: block;
    width: 100%;
    clear: both;
    white-space: pre;
    text-align: left;
}

.instruction-note {
    margin-top: 20px;
    padding: 10px;
    background-color: #563c06;
    border-left: 4px solid #ffc107;
    padding: 10px 15px;
    margin-top: 15px;
    border-radius: 0 5px 5px 0;
    display: flex;
    align-items: flex-start;
}

.instruction-note svg {
    margin-top: 2px;
    margin-right: 10px;
    color: #ffc107;
    flex-shrink: 0;
}

.instruction-note p {
    margin: 0;
}

/* 语言设置容器样式 */
.language-setting-container {
  display: flex;
  align-items: center;
  background-color: rgba(45, 55, 72, 0.7);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.select-label {
  font-size: 16px;
  color: #E2E8F0;
  margin-right: 15px;
  font-weight: 500;
  min-width: 60px; /* 给标签一个最小宽度 */
}

.language-select {
  background-color: #1f2937;
  color: white;
  border: 1px solid #384152;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 14px;
  cursor: pointer;
  outline: none;
  width: 200px;
  transition: all 0.2s ease;
}

.language-select:hover {
  border-color: #4776E6;
  box-shadow: 0 0 5px rgba(71, 118, 230, 0.5);
}

.language-select:focus {
  border-color: #8E54E9;
  box-shadow: 0 0 5px rgba(142, 84, 233, 0.5);
}

.language-select option {
  background-color: #1f2937;
  color: white;
}

/* About section styles */
.about-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(45, 55, 72, 0.7), rgba(45, 55, 72, 0.4));
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.about-container:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.about-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
  text-align: center;
}

.about-logo {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
  transition: transform 0.3s ease;
}

.about-logo:hover {
  transform: scale(1.05);
}

.about-header h2 {
  font-size: 28px;
  margin: 0 0 5px 0;
  background: linear-gradient(90deg, #4776E6, #8E54E9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.version {
  font-size: 14px;
  color: #a0aec0;
  margin: 0 0 10px 0;
}

.tagline {
  font-size: 18px;
  color: #e2e8f0;
  font-weight: 500;
}

.about-description {
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #cbd5e0;
  max-width: 600px;
}

.feature-highlights {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
  width: 100%;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(45, 55, 72, 0.7);
  padding: 16px 12px;
  border-radius: 8px;
  height: auto;
  width: auto;
  text-align: center;
}

.feature-item:hover {
  /* transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-right: 15px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #4776E6, #8E54E9);
  border-radius: 8px;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: white;
}

.feature-text {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  flex: 1;
}

/* Fix conflicting styles for feature items in the About section */
.about-container .feature-item {
  width: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 10px;
}

.about-container .feature-icon {
  margin-right: 0;
  margin-bottom: 10px;
  width: 40px;
  height: 40px;
  background-color: rgba(66, 153, 225, 0.15);
  background-image: none;
}

.about-container .feature-text {
  text-align: center;
}

.model-support {
  margin-bottom: 40px;
  text-align: center;
  width: 100%;
}

.model-support h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #e2e8f0;
}

.model-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.model-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  background-color: rgba(45, 55, 72, 0.7);
  border-radius: 12px;
  transition: transform 0.2s, background-color 0.2s;
}

.model-icon:hover {
  transform: translateY(-5px);
  background-color: rgba(66, 153, 225, 0.2);
}

.about-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding-top: 30px;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.social-links {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background-color: rgba(45, 55, 72, 0.7);
  border-radius: 50%;
  transition: transform 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
  transform: translateY(-5px);
  background-color: rgba(66, 153, 225, 0.5);
}

.twitter-link svg, .github-svg {
  width: 20px;
  height: 20px;
  fill: #e2e8f0;
}

.github-svg {
  stroke: #e2e8f0;
}

.copyright {
  font-size: 14px;
  color: #a0aec0;
  text-align: center;
}

/* General tab styles */
.general-container {
  width: 100%;
  max-width: 1000px;
  padding: 20px;
  margin: 0 auto 20px;
  box-sizing: border-box;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  background: linear-gradient(to bottom, rgba(45, 55, 72, 0.5), rgba(45, 55, 72, 0.3));
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.general-section {
  margin-bottom: 25px;
}

.gradient-heading {
  font-size: 28px;
  margin: 0 0 20px 0;
  background: linear-gradient(90deg, #4776E6, #8E54E9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  width: 100%;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(45, 55, 72, 0.7);
  padding: 16px 12px;
  border-radius: 8px;
  height: auto;
  width: auto;
  text-align: center;
}

.feature-item:hover {
  /* transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-right: 15px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #4776E6, #8E54E9);
  border-radius: 8px;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: white;
}

.feature-text {
  font-size: 14px;
  line-height: 1.4;
  color: #E2E8F0;
  text-align: center;
  width: 100%;
}

/* Fix conflicting styles for feature items in the About section */
.about-container .feature-item {
  width: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 10px;
}

.about-container .feature-icon {
  margin-right: 0;
  margin-bottom: 10px;
  width: 40px;
  height: 40px;
  background-color: rgba(66, 153, 225, 0.15);
  background-image: none;
}

.about-container .feature-text {
  text-align: center;
}

.quicktrans-save-btn {
  padding: 10px 20px;
  background: linear-gradient(135deg, #4776E6, #8E54E9);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 15px;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.quicktrans-save-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #5687FF, #9F65FA);
}

.explanation-image {
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.explanation-image:hover {
  transform: scale(1.02);
}

.toggle-container {
  display: flex;
  align-items: center;
  margin: 15px 0;
}

.model-selection-container {
  margin: 15px 0;
}

.model-select {
  background-color: #1f2937;
  color: white;
  border: 1px solid #384152;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 14px;
  cursor: pointer;
  outline: none;
  min-width: 200px;
  transition: all 0.2s ease;
}

.model-select:hover {
  border-color: #4776E6;
  box-shadow: 0 0 5px rgba(71, 118, 230, 0.5);
}

.model-select:focus {
  border-color: #8E54E9;
  box-shadow: 0 0 5px rgba(142, 84, 233, 0.5);
}

.model-select option, .model-select optgroup {
  background-color: #1f2937;
  color: white;
}

.auto-save-message {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: none;
  align-items: center;
  gap: 8px;
  background-color: #4CAF50;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.auto-save-message svg {
  stroke: currentColor;
  width: 16px;
  height: 16px;
}

.light-mode .auto-save-message {
  background-color: #4CAF50;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* 添加动画效果，当消息显示时会有一个轻微上移效果 */
.auto-save-message[style*="opacity: 1"] {
  transform: translate(-50%, -60%);
}

/* 当保存失败时的样式 */
.auto-save-message.error {
  background: linear-gradient(135deg, rgba(244, 67, 54, 0.9), rgba(210, 51, 45, 0.9));
  border-left: 3px solid rgba(255, 255, 255, 0.5);
}

/* 为GPT页面和其他供应商页面添加样式 */
.link-container {
  background-color: rgba(45, 55, 72, 0.7);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.provider-link {
  color: #4776E6;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.2s ease;
}

.provider-link:hover {
  color: #8E54E9;
  text-decoration: underline;
}

.model-list-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.model-item {
  background-color: rgba(45, 55, 72, 0.7);
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 14px;
  color: #E2E8F0;
  transition: all 0.2s ease;
}

.model-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  background-color: rgba(71, 118, 230, 0.2);
}

.input-container {
  margin-bottom: 20px;
}

.baseurl-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  height: 48px;
  width: 50%;
}

.button-container {
  display: flex;
  gap: 15px;
  margin: 30px 0;
}

.save-button, .checkapi-button {
  padding: 8px 16px;
  background-color: #4A5568;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s;
  margin-top: 0;
}

.save-button {
  margin-right: 10px;
}

.save-button:hover, .checkapi-button:hover {
  background-color: #4caf50;
}

.message-container {
  margin-top: 15px;
}

.checkapi-message, .save-message {
  color: #4caf50;
  font-weight: 500;
  padding: 8px 15px;
  background-color: rgba(76, 175, 80, 0.1);
  border-left: 3px solid #4caf50;
  border-radius: 3px;
}

/* 模型列表标题和编辑按钮 */
.model-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.model-list-title {
  font-size: 16px;
  font-weight: 500;
  color: #E2E8F0;
}

.edit-models-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: rgba(71, 118, 230, 0.2);
  border: 1px solid rgba(71, 118, 230, 0.3);
  border-radius: 4px;
  color: #E2E8F0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.edit-models-btn svg {
  width: 16px;
  height: 16px;
  stroke: #4776E6;
}

.edit-models-btn:hover {
  background: rgba(71, 118, 230, 0.3);
  transform: translateY(-1px);
}

/* 模态框样式 */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1001;
  justify-content: center;
  align-items: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  width: 500px;
  max-width: 90%;
  background: #1A202C;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
  margin: 0;
  color: #E2E8F0;
  font-size: 18px;
}

.close-modal {
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: #A0AEC0;
  cursor: pointer;
}

.close-modal:hover {
  color: #E2E8F0;
}

.modal-body {
  padding: 20px;
  max-height: 60vh;
  overflow-y: auto;
}

.modal-footer {
  padding: 15px 20px;
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 模型编辑列表 */
.current-models,
.add-model-form {
  margin-bottom: 20px;
}

.current-models h4,
.add-model-form h4 {
  margin-top: 0;
  margin-bottom: 15px;
  color: #E2E8F0;
  font-size: 16px;
}

.model-edit-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 60px;
  position: relative;
}

.model-edit-list:empty::after {
  content: '暂无模型，请添加新模型';
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  color: #718096;
  font-size: 14px;
  font-style: italic;
  background-color: rgba(45, 55, 72, 0.4);
  border-radius: 6px;
  border: 1px dashed #4A5568;
}

.current-models .drag-hint {
  display: block;
  font-size: 12px;
  color: #A0AEC0;
  margin-top: 10px;
  text-align: center;
  font-style: italic;
}

.model-edit-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background-color: rgba(45, 55, 72, 0.7);
  border-radius: 6px;
  transition: all 0.2s ease;
  cursor: grab;
  user-select: none;
}

.model-edit-item:hover {
  background-color: rgba(55, 65, 85, 0.8);
  transform: translateY(-1px);
}

.model-edit-item.dragging {
  cursor: grabbing;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 10;
  background-color: rgba(71, 118, 230, 0.3);
}

.model-edit-item.drag-over {
  border-top: 2px solid #4776E6;
}

.drag-handle {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  cursor: grab;
  color: #4A5568;
}

.drag-handle svg {
  width: 18px;
  height: 18px;
  stroke: #4A5568;
}

.model-edit-item:hover .drag-handle svg {
  stroke: #63B3ED;
}

.model-edit-item.dragging .drag-handle {
  cursor: grabbing;
}

.model-edit-item-name {
  font-size: 14px;
  color: #E2E8F0;
  flex-grow: 1;
}

.model-edit-actions {
  display: flex;
  gap: 5px;
}

.delete-model-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  color: #FC8181;
}

.delete-model-btn:hover {
  background-color: rgba(252, 129, 129, 0.2);
}

.delete-model-btn svg {
  width: 16px;
  height: 16px;
}

/* 添加模型表单 */
.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: #E2E8F0;
  font-size: 14px;
}

.form-group input {
  width: 100%;
  padding: 10px;
  background-color: #2D3748;
  border: 1px solid #4A5568;
  border-radius: 4px;
  color: #E2E8F0;
  font-size: 14px;
}

.form-group input:focus {
  outline: none;
  border-color: #4776E6;
  box-shadow: 0 0 0 2px rgba(71, 118, 230, 0.2);
}

.add-model-btn,
.save-models-btn {
  padding: 8px 16px;
  background-color: #4A5568;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s;
  margin-top: 0;
}

.add-model-btn:hover,
.save-models-btn:hover {
  background-color: #4caf50;
}

/* Provider toggle container */
.provider-toggle-container {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 0 10px;
}

.toggle-label {
    margin-right: 10px;
    font-size: 14px;
    color: #E2E8F0;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #4D6BFE;
}

input:focus + .slider {
    box-shadow: 0 0 1px #4D6BFE;
}

input:checked + .slider:before {
    transform: translateX(22px);
}

/* Appearance Settings Styles */
.appearance-setting-container {
  display: flex;
  flex-direction: column;
  background-color: #2D3748;
  padding: 15px;
  border-radius: 8px;
  margin: 15px 0;
}

.appearance-label {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #E2E8F0;
}

.appearance-options {
  display: flex;
  gap: 20px;
}

.appearance-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  padding: 10px;
  border-radius: 8px;
  width: 100px;
  transition: background-color 0.2s ease;
}

.appearance-option:hover {
  background-color: #EDF2F7;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.appearance-option input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.appearance-option input[type="radio"]:checked + .appearance-text {
  color: #38A169;
  font-weight: bold;
}

.appearance-text {
  margin: 8px 0;
  font-size: 14px;
  color: #CBD5E0;
}

.appearance-preview {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  margin-bottom: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.dark-preview {
  background-color: #111827;
  border: 1px solid #2D3748;
}

.dark-preview::before {
  content: "Aa";
  color: #FFFFFF;
  font-weight: bold;
  font-size: 16px;
}

.light-preview {
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
}

.light-preview::before {
  content: "Aa";
  color: #2D3748;
  font-weight: bold;
  font-size: 16px;
}

/* Light Mode Styles */
body.light-mode {
  background-color: #F7FAFC;
  color: #1A202C;
}

.light-mode .settings-container {
  background-color: #FFFFFF;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
}

.light-mode .tab-list {
  background-color: #FFFFFF;
  border-right: 1px solid #E2E8F0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.light-mode .my-extension-brand {
  background: linear-gradient(90deg, #3182CE, #805AD5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.light-mode .tab-link {
  color: #4A5568;
  border-left: 3px solid transparent;
}

.light-mode .tab-link:hover, .light-mode .tab-link.active {
  background-color: #F7FAFC;
  border-left: 3px solid #4A5568;
}

.light-mode .tab-content {
  background-color: #FFFFFF;
  color: #1A202C;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: none;
  height: 100%;
  overflow-y: auto;
  scrollbar-width: thin;
}

.light-mode .tab-content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
}

.light-mode .tab-content::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
}

.light-mode .tab-content::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}

.light-mode .tab-content h3 {
  color: #2D3748;
}

.light-mode .tab-content li {
  background-color: #EDF2F7;
}

.light-mode .language-setting-container,
.light-mode .appearance-setting-container {
  background-color: #FFFFFF;
  border: 1px solid #EDF2F7;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.light-mode .select-label,
.light-mode .appearance-label {
  color: #2D3748;
}

.light-mode .language-select,
.light-mode .appearance-text {
  color: #2D3748;
}

.light-mode .language-select {
  background-color: #FFFFFF;
  border-color: #CBD5E0;
}

.light-mode .language-select option {
  background-color: #FFFFFF;
  color: #2D3748;
}

.light-mode .gradient-heading {
  color: #2D3748;
}

/* Fixed feature styles for light mode */
.light-mode .feature-list {
  gap: 15px;
}

.light-mode .feature-item {
  background-color: #FFFFFF !important;
  border: none !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.light-mode .feature-item:hover {
  background-color: rgba(0, 0, 0, 0.03);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.light-mode .feature-icon {
  background: linear-gradient(135deg, #EDF2F7, #CBD5E0) !important;
  margin-bottom: 12px;
}

.light-mode .feature-icon svg {
  stroke: #4A5568;
}

.light-mode .feature-text {
  color: #2D3748;
}

.light-mode .general-section {
  border-bottom: 1px solid #EDF2F7;
  padding-bottom: 20px;
}

.light-mode .general-section:last-child {
  border-bottom: none;
}

.light-mode .model-list-title {
  color: #2D3748;
  font-weight: 600;
}

.light-mode .model-list-container {
  background-color: #FFFFFF;
  border: 1px solid #F7FAFC;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.light-mode .model-list-container,
.light-mode .model-list-container * {
  color: #2D3748;
}

.light-mode .model-item {
  border: none;
  background-color: #F7FAFC;
  color: #2D3748;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.light-mode .model-item:hover {
  background-color: #EDF2F7;
  transform: translateY(-1px);
}

.light-mode .ollama-instructions {
  background-color: #FFFFFF;
  border: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  padding: 20px;
}

.light-mode .instruction-step {
  background-color: transparent;
  border: none;
  margin-bottom: 16px;
}

.light-mode .instruction-step:last-child {
  margin-bottom: 0;
}

.light-mode .model-selection-container, 
.light-mode .toggle-container {
  background-color: #FFFFFF;
  padding: 12px;
  border-radius: 8px;
}

.light-mode .about-container {
  background: #FFFFFF;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.light-mode .link-container {
  background-color: #FFFFFF;
  border: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.light-mode .save-button, 
.light-mode .quicktrans-save-btn, 
.light-mode .checkapi-button {
  background-color: #e2e8f0;
  color: #2d3748;
  border: 1px solid #E2E8F0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.light-mode .save-button:hover, 
.light-mode .quicktrans-save-btn:hover, 
.light-mode .checkapi-button:hover {
  background-color: #4caf50;
  color: white;
  border: 1px solid #4caf50;
}

.light-mode .input-container input {
  background-color: #FFFFFF;
  color: #2D3748;
  border-color: #E2E8F0;
}

.light-mode .toggle-password svg {
  stroke: #2D3748;
}

.light-mode .provider-link {
  color: #3182CE;
}

.light-mode .collapsible svg {
  stroke: #2D3748;
}

.light-mode .modal {
  background-color: rgba(237, 242, 247, 0.8);
}

.light-mode .modal-content {
  background-color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.light-mode .model-list-header {
  border-bottom: 1px solid #E2E8F0;
  color: #2D3748;
}

.light-mode .edit-models-btn {
  background-color: #F7FAFC;
  color: #4A5568;
  border: 1px solid #E2E8F0;
}

.light-mode .edit-models-btn:hover {
  background-color: #EDF2F7;
}

.light-mode .ollama-explanation {
  color: #4A5568;
}

.light-mode .save-message, 
.light-mode .checkapi-message {
  background-color: rgba(56, 161, 105, 0.1);
  color: #38A169;
}

/* Fix double borders for baseurl-wrapper and ollama-instructions in light mode */
.light-mode .baseurl-wrapper,
.light-mode .password-wrapper {
  background-color: transparent;
  border: none;
}

.light-mode .baseurl-input,
.light-mode .api-key-input {
  width: 100%;
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 4px;
  color: #1A202C;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.light-mode .baseurl-input:focus,
.light-mode .api-key-input:focus {
  border-color: #4299E1;
  box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2);
}

/* General container light mode */
.light-mode .general-container {
  background: #FFFFFF;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Feature items special overrides for deep nesting */
.light-mode .feature-container {
  background-color: #FFFFFF !important;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Further feature item fixes for general container */
.light-mode .general-container .feature-item {
  background-color: #FFFFFF !important;
  border: none !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.light-mode .general-container .feature-icon {
  background: linear-gradient(135deg, #EDF2F7, #CBD5E0) !important;
}

/* Fix about container features */
.light-mode .about-container .feature-item {
  background-color: #FFFFFF !important;
  border: none !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.light-mode .about-container .feature-icon {
  background: linear-gradient(135deg, #EDF2F7, #E2E8F0) !important;
}

/* Fix select and toggle label issues in light mode */
.light-mode .language-select,
.light-mode .model-select {
  background-color: #FFFFFF;
  color: #2D3748;
  border: 1px solid #E2E8F0;
}

.light-mode .language-select option,
.light-mode .language-select optgroup,
.light-mode .model-select option,
.light-mode .model-select optgroup {
  background-color: #FFFFFF !important;
  color: #2D3748 !important;
}

.light-mode .toggle-label {
  color: #2D3748;
  font-weight: 500;
}

.light-mode .provider-toggle-container .toggle-label {
  color: #2D3748;
  font-weight: 500;
}

/* Fix language-selector dropdown options in light mode */
.light-mode #language-selector {
  background-color: #FFFFFF;
  color: #2D3748;
  border-color: #E2E8F0;
}

.light-mode #language-selector option {
  background-color: #FFFFFF !important;
  color: #2D3748 !important;
}

/* Add browser-specific fixes for select options */
@-moz-document url-prefix() {
  .light-mode #language-selector,
  .light-mode #language-selector option {
    background-color: #FFFFFF !important;
    color: #2D3748 !important;
  }
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
  .light-mode #language-selector,
  .light-mode #language-selector option {
    background-color: #FFFFFF !important;
    color: #2D3748 !important;
  }
}

/* Additional fallback for browsers that support it */
.light-mode #language-selector {
  -webkit-appearance: menulist;
  appearance: menulist;
}

/* Fix social links and copyright in light mode */
.light-mode .social-link {
  background-color: #EDF2F7;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.light-mode .social-link:hover {
  background-color: #E2E8F0;
  transform: translateY(-3px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.light-mode .twitter-link svg {
  fill: #1DA1F2;
}

.light-mode .github-svg {
  fill: transparent;
  stroke: #24292E;
  stroke-width: 2;
}

.light-mode .copyright {
  color: #2D3748;
  font-weight: 500;
}

/* Fix instruction step text in light mode */
.light-mode .instruction-step p {
  color: #1A202C !important;
  font-weight: 500;
}

.light-mode .instruction-step .instruction-number {
  background-color: #4299E1;
  color: white;
}

.light-mode .appearance-text {
  color: #2D3748;
}

/* Adding style for div with flex:1 to ensure no border */
div[style*="flex: 1"] {
  border: none;
}

/* Light mode fixes */
.light-mode .feature-item:hover {
  /* transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08); */
}

/* 自定义选择框样式 */
.custom-select-container {
  position: relative;
  width: 240px; /* 将宽度从100%改为固定宽度 */
  cursor: pointer;
  user-select: none;
  max-width: 100%; /* 确保在小屏幕上不会溢出 */
  z-index: 100; /* 确保下拉菜单显示在其他内容之上 */
}

.custom-select-selected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border: 1px solid;
  border-radius: 4px;
  transition: all 0.2s ease;
  white-space: nowrap; /* 防止文本换行 */
  overflow: hidden; /* 防止内容溢出 */
  text-overflow: ellipsis; /* 文本溢出时显示省略号 */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.custom-select-container:hover .custom-select-selected {
  border-color: #63B3ED; /* 鼠标悬停时边框颜色变化 */
}

.custom-select-selected span {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-select-selected svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
  margin-left: 8px; /* 为图标添加左边距 */
  flex-shrink: 0; /* 防止图标被压缩 */
}

.custom-select-container.open .custom-select-selected svg {
  transform: rotate(180deg);
}

.custom-select-option.selected {
  font-weight: 500;
  background-color: rgba(255, 255, 255, 0.1);
}

.light-mode .custom-select-option.selected {
  background-color: rgba(0, 0, 0, 0.05);
}

.custom-select-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 0;
  overflow: hidden;
  border-radius: 4px;
  z-index: 10;
  transition: all 0.2s ease;
  opacity: 0;
  margin-top: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 100%; /* 与容器同宽 */
}

.custom-select-container.open .custom-select-options {
  max-height: 250px; /* 限制最大高度 */
  opacity: 1;
  overflow-y: auto;
  scrollbar-width: thin; /* Firefox */
  pointer-events: auto; /* 确保可以与选项交互 */
  visibility: visible; /* 确保选项可见 */
}

/* 自定义滚动条样式 */
.custom-select-options::-webkit-scrollbar {
  width: 6px;
}

.custom-select-options::-webkit-scrollbar-track {
  background: transparent;
}

.custom-select-options::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.light-mode .custom-select-options::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
}

.custom-select-option {
  padding: 8px 12px;
  transition: background-color 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-select-option:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.custom-select-option.selected {
  font-weight: 500;
}

/* 深色模式 */
.custom-select-selected {
  background-color: #2D3748;
  color: #F7FAFC;
  border-color: #4A5568;
}

.custom-select-options {
  background-color: #2D3748;
  border: 1px solid #4A5568;
}

.custom-select-option {
  color: #F7FAFC;
}

.custom-select-option:hover {
  background-color: #4A5568;
}

/* 浅色模式 */
.light-mode .custom-select-selected {
  background-color: #FFFFFF;
  color: #2D3748;
  border-color: #CBD5E0;
}

.light-mode .custom-select-options {
  background-color: #FFFFFF;
  border: 1px solid #CBD5E0;
}

.light-mode .custom-select-option {
  color: #2D3748;
}

.light-mode .custom-select-option:hover {
  background-color: #F7FAFC;
}

/* Prompt Settings Styles */
.prompt-settings-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 20px;
}

.prompt-type {
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.light-mode .prompt-type {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.prompt-title {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, #4776E6, #8E54E9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  padding-left: 15px;
  letter-spacing: 0.5px;
}

.prompt-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 24px;
  background: linear-gradient(135deg, #4776E6, #8E54E9);
  border-radius: 3px;
}

.light-mode .prompt-title {
  background: linear-gradient(90deg, #3182CE, #805AD5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.light-mode .prompt-title::before {
  background: linear-gradient(135deg, #3182CE, #805AD5);
}

.prompt-type h3 {
  margin-top: 0;
  margin-bottom: 12px;
  color: var(--primary-color);
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.prompt-type h3::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 18px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover-color));
  border-radius: 3px;
  margin-right: 10px;
}

.prompt-textarea {
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px;
  font-family: monospace;
  font-size: 14px;
  line-height: 1.6;
  background-color: var(--input-bg-color);
  color: var(--text-color);
  resize: vertical;
  min-height: 180px;
  max-height: 300px;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
  border-color: #4A5568;
  margin-bottom: 15px;
}

.prompt-textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1), 0 0 0 2px rgba(71, 118, 230, 0.2);
}

.save-prompt-btn, .reset-prompt-btn {
  padding: 8px 16px;
  background-color: #4A5568;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  float: right;
  margin-top: 0;
  transition: background-color 0.2s;
}

.save-prompt-btn {
  margin-left: 10px;
}

.save-prompt-btn:hover {
  background-color: #4caf50;
}

.reset-prompt-btn:hover {
  background-color: #f44336;
}

.reset-prompt-btn:before {
  content: "↺";
  display: inline-block;
  margin-right: 6px;
  font-weight: bold;
}

.light-mode .save-prompt-btn,
.light-mode .reset-prompt-btn {
  background-color: #e2e8f0;
  color: #2d3748;
}

.light-mode .save-prompt-btn:hover {
  background-color: #4caf50;
  color: white;
}

.light-mode .reset-prompt-btn:hover {
  background-color: #f44336;
  color: white;
}

/* Clickable feature items in toolbox */
.clickable-feature {
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.clickable-feature:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.feature-arrow {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease, transform 0.3s ease;
}

.clickable-feature:hover .feature-arrow {
  color: rgba(255, 255, 255, 0.9);
  transform: translateX(5px);
}

/* Light mode styles for clickable features */
.light-mode .clickable-feature {
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.light-mode .clickable-feature:hover {
  background-color: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.2);
}

.light-mode .feature-arrow {
  color: rgba(0, 0, 0, 0.6);
}

.light-mode .clickable-feature:hover .feature-arrow {
  color: rgba(0, 0, 0, 0.9);
}