* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* 主题色变量 */
  --theme-primary: #667eea;
  --theme-secondary: #764ba2;
  --theme-rgb: 102, 126, 234;

  /* 亮色模式变量 */
  --bg-primary: #ffffff;
  --bg-secondary: #f5f5f5;
  --bg-tertiary: #fafafa;
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-muted: #999999;
  --border-color: #e8e8e8;
  --divider-color: #f0f0f0;
  --card-bg: #ffffff;
  --card-hover: #f8f9fa;
  --shadow-sm: rgba(0, 0, 0, 0.04);
  --shadow-md: rgba(0, 0, 0, 0.08);
  --shadow-lg: rgba(0, 0, 0, 0.15);
}

/* 通用全局样式 */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-secondary);
  color: var(--text-primary);
  min-height: 100vh;
  padding: 16px;
  padding-bottom: 100px;
  transition: background 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: scroll;
  width: 100%;
}

body * {
  box-sizing: border-box;
}

body.modal-open {
  overflow: hidden;
  padding-right: 16px;
}

.app-container {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  min-height: calc(100vh - 120px);
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: 0 4px 24px var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.app-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* 搜索栏 */
.search-bar {
  padding: 16px 20px 0;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 12px 44px 12px 44px;
  font-size: 15px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  outline: none;
  background: var(--bg-tertiary);
  color: var(--text-primary);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-input:focus {
  border-color: var(--theme-primary);
  box-shadow: 0 0 0 3px rgba(var(--theme-rgb), 0.15);
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-clear {
  position: absolute;
  right: 10px;
  width: 28px;
  height: 28px;
  border: none;
  background: var(--border-color);
  border-radius: 50%;
  font-size: 16px;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.2s ease;
}

.search-clear:hover {
  background: var(--text-muted);
  color: var(--bg-primary);
}

/* 搜索结果 */
.search-results {
  padding: 12px 20px 20px;
}

.search-results-header {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 600;
}

.search-result-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-tertiary);
  border-radius: 12px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid var(--border-color);
}

.search-result-item:hover {
  background: var(--card-hover);
  border-color: var(--theme-primary);
  transform: translateY(-1px);
}

.search-result-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}

.search-result-icon.memo {
  background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
  color: #ffffff;
}

.search-result-icon.todo {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
}

.search-result-content {
  flex: 1;
  min-width: 0;
}

.search-result-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.search-result-text {
  font-size: 13px;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result-date {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 6px;
}

.search-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  font-size: 14px;
}

.tab-content {
  display: none;
  flex: 1;
}

.tab-content.active {
  display: flex;
  flex-direction: column;
}

/* 备忘录列表卡片 */
.memos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 900px) {
  .memos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

.memo-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 12px var(--shadow-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  /* 防止卡片被拉伸到固定高度 */
  min-height: 0;
}

@media (min-width: 900px) {
  .memo-card {
    /* 确保两列高度一致 */
    height: 100%;
    align-self: start;
  }
}

.memo-card:hover {
  box-shadow: 0 4px 16px var(--shadow-md);
  transform: translateY(-2px);
}

.memo-card h3 {
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.memo-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.memo-content-preview {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 8px 0 0 0;
  max-height: calc(14px * 1.6 * 4);
}

.memo-content-preview p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  display: inline;
}

.memo-content-preview strong { font-weight: 600; }
.memo-content-preview em { font-style: italic; }
.memo-content-preview u { text-decoration: underline; }
.memo-content-preview blockquote {
  margin: 0;
  padding: 4px 12px;
  border-left: 3px solid var(--theme-primary);
  color: var(--text-muted);
  display: block;
}

.memo-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--divider-color);
}

.memo-date {
  font-size: 12px;
  color: var(--text-muted);
}

.memo-actions {
  display: flex;
  gap: 8px;
}

.memo-btn {
  padding: 6px 12px;
  border: 1px solid var(--border-color);
  background: var(--bg-tertiary);
  border-radius: 8px;
  font-size: 12px;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.memo-btn:hover {
  background: var(--border-color);
}

.memo-btn.delete:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.2);
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-tertiary);
  border-radius: 16px;
  color: var(--text-muted);
  border: 1px dashed var(--border-color);
}

/* 底部导航 */
.bottom-nav {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 100;
  pointer-events: none;
  width: auto;
}

.bottom-nav > * {
  pointer-events: auto;
}

.bottom-nav-group {
  display: flex;
  align-items: center;
  background: var(--card-bg);
  border-radius: 30px;
  padding: 6px;
  box-shadow: 0 4px 20px var(--shadow-md);
  border: 1px solid var(--border-color);
  gap: 2px;
}

.bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  height: 52px;
  padding: 0 14px;
  border: none;
  background: transparent;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-secondary);
}

.bottom-nav-btn:hover {
  background: var(--card-hover);
}

.bottom-nav-btn.active {
  background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
  color: #ffffff;
}

.bottom-nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
}

.bottom-nav-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.bottom-nav-text {
  font-size: 11px;
  margin-top: 2px;
}

/* +按钮 - 完美圆形 */
.bottom-nav-add {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%) !important;
  color: #ffffff !important;
  border-radius: 50% !important;
  box-shadow: 0 4px 20px var(--shadow-md);
  border: 3px solid var(--card-bg);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.bottom-nav-add:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px var(--shadow-lg);
}

.bottom-nav-add:active {
  transform: scale(0.95);
}

.bottom-nav-add-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.bottom-nav-add-icon svg {
  width: 26px;
  height: 26px;
}

/* 新建菜单弹窗 - 桌面居中+移动端底部滑入 */
.create-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 200;
}

.create-modal.active {
  display: block;
}

.create-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* 模态弹窗 - 通用 */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.active {
  display: flex;
  animation: fadeIn 0.2s ease-out;
}

.detail-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

.detail-action-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-color);
  background: var(--bg-tertiary);
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  color: var(--text-secondary);
}

.detail-action-btn:hover {
  background: var(--border-color);
}

.detail-action-btn.edit:hover {
  background: rgba(var(--theme-rgb), 0.15);
  border-color: var(--theme-primary);
  color: var(--theme-primary);
}

.detail-action-btn.delete:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: #ef4444;
  color: #ef4444;
}

/* 备忘录编辑器 */
.editor-page {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-secondary);
  z-index: 300;
  padding: 16px;
  overflow-y: auto;
}

.editor-page.active {
  display: block;
}

.editor-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: 0 4px 24px var(--shadow-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.editor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--card-bg);
  border-bottom: 1px solid var(--border-color);
}

.editor-back,
.editor-save {
  padding: 8px 16px;
  border: none;
  background: var(--bg-tertiary);
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
  color: var(--text-secondary);
}

.editor-save {
  background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
  color: #ffffff;
}

.editor-save:hover {
  opacity: 0.9;
}

.editor-date {
  font-size: 13px;
  color: var(--text-muted);
}

.editor-content {
  padding: 20px;
}

.editor-title-input {
  width: 100%;
  padding: 12px;
  font-size: 20px;
  font-weight: 600;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.editor-title-input::placeholder {
  color: var(--text-muted);
}

/* 工具栏 */
.editor-toolbar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 12px;
  background: var(--bg-tertiary);
  border-radius: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.toolbar-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--card-bg);
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text-secondary);
  box-shadow: 0 1px 4px var(--shadow-sm);
}

.toolbar-btn:hover {
  background: var(--border-color);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.toolbar-btn:active {
  transform: scale(0.95);
}

.toolbar-divider {
  width: 1px;
  height: 20px;
  background: var(--border-color);
  margin: 0 4px;
}

.toolbar-font-size {
  height: 36px;
  padding: 0 10px;
  border: none;
  background: var(--card-bg);
  border-radius: 10px;
  font-size: 13px;
  cursor: pointer;
  outline: none;
  color: var(--text-secondary);
  box-shadow: 0 1px 4px var(--shadow-sm);
}

.toolbar-font-size:hover {
  background: var(--border-color);
}

.toolbar-color {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--card-bg);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text-secondary);
  box-shadow: 0 1px 4px var(--shadow-sm);
}

.toolbar-color:hover {
  background: var(--border-color);
  transform: translateY(-1px);
}

.toolbar-color-label {
  z-index: 1;
  pointer-events: none;
}

.toolbar-color input[type="color"] {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border: none;
  padding: 0;
  opacity: 0;
  cursor: pointer;
  background: transparent;
}

.toolbar-color::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 18px;
  height: 3px;
  background: var(--theme-primary);
  border-radius: 2px;
  transform: translateX(-50%);
}

.editor-body-editor {
  min-height: 300px;
  padding: 16px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-primary);
  outline: none;
  overflow-y: auto;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
}

/* 编辑器背景色选择栏 */
.editor-bg-color-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--bg-tertiary);
  border-radius: 12px;
  margin-bottom: 12px;
  border: 1px solid var(--border-color);
  flex-wrap: wrap;
}

.editor-bg-color-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  margin-right: 4px;
}

.editor-bg-color-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  background: var(--card-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 14px;
  color: var(--text-muted);
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.editor-bg-color-btn:hover {
  border-color: var(--theme-primary);
  transform: translateY(-1px);
}

.editor-bg-color-btn.active {
  border-color: var(--theme-primary);
  box-shadow: 0 0 0 2px rgba(var(--theme-rgb), 0.25);
}

.editor-bg-color-custom {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  padding: 4px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  cursor: pointer;
  position: relative;
  background: linear-gradient(135deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3);
}

.editor-bg-color-custom input[type="color"] {
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  background: transparent;
  padding: 0;
}

.editor-bg-color-custom input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}

.editor-bg-color-custom input[type="color"]::-webkit-color-swatch {
  border: 2px solid #ffffff;
  border-radius: 4px;
}

.editor-body-editor:empty::before {
  content: attr(placeholder);
  color: var(--text-muted);
}

.editor-body-editor blockquote {
  margin: 12px 0;
  padding: 12px 16px;
  border-left: 4px solid var(--theme-primary);
  background: var(--bg-tertiary);
  border-radius: 0 8px 8px 0;
  color: var(--text-secondary);
  font-style: italic;
}

.editor-body-editor p {
  margin: 8px 0;
}

.editor-body-editor strong {
  font-weight: 700;
}

.editor-body-editor em {
  font-style: italic;
}

.editor-body-editor u {
  text-decoration: underline;
}

.editor-body-editor input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  cursor: pointer;
  accent-color: var(--theme-primary);
}

/* 待办编辑器 */
.todo-input {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  outline: none;
  margin-bottom: 8px;
  background: var(--bg-tertiary);
  color: var(--text-primary);
  transition: border-color 0.2s;
}

.todo-input:focus {
  border-color: var(--theme-primary);
}

.todo-field-group {
  margin-bottom: 16px;
}

.todo-field-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 8px;
}

.todo-field-label svg {
  flex-shrink: 0;
}

/* 密码弹窗输入框样式 */
.login-modal .todo-input,
.password-modal .todo-input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  font-size: 15px;
  background: var(--card-bg);
  color: var(--text-primary);
  transition: all 0.2s ease;
  outline: none;
  box-sizing: border-box;
}

.login-modal .todo-input:focus,
.password-modal .todo-input:focus {
  border-color: var(--theme-primary);
  box-shadow: 0 0 0 4px rgba(var(--theme-rgb), 0.1);
}

.login-modal .modal-header,
.password-modal .modal-header {
  padding: 20px 24px 14px;
}

.login-modal .modal-body,
.password-modal .modal-body {
  padding: 18px 24px 8px;
}

.login-modal .modal-footer,
.password-modal .modal-footer {
  padding: 14px 24px 20px;
}

.login-error {
  text-align: center;
}

.todo-datetime-group {
  display: flex;
  gap: 10px;
}

.todo-date-input,
.todo-time-input {
  flex: 1;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  outline: none;
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.todo-date-input:focus,
.todo-time-input:focus {
  border-color: var(--theme-primary);
}

.todo-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.todo-category-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--bg-tertiary);
  border-radius: 18px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  color: var(--text-secondary);
}

.todo-category-item:hover {
  background: var(--border-color);
}

.todo-category-item:has(input:checked) {
  background: rgba(var(--theme-rgb), 0.15);
  border-color: var(--theme-primary);
  color: var(--theme-primary);
}

.todo-category-item input {
  margin: 0;
  accent-color: var(--theme-primary);
}

.todo-checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-secondary);
}

.todo-checkbox-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--theme-primary);
}

.todo-notes-input {
  width: 100%;
  padding: 12px;
  font-size: 14px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  outline: none;
  resize: vertical;
  min-height: 70px;
  font-family: inherit;
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.todo-notes-input:focus {
  border-color: var(--theme-primary);
}

/* 设置页面 */
.settings-page {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 12px var(--shadow-sm);
}

.settings-page-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--divider-color);
}

.settings-page-header h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.settings-section {
  margin-bottom: 24px;
}

.settings-section:last-child {
  margin-bottom: 0;
}

.settings-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--divider-color);
}

.settings-colors {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.settings-color-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px var(--shadow-sm);
}

.settings-color-btn:hover {
  transform: scale(1.1);
}

.settings-color-btn.active {
  border-color: var(--text-primary);
  transform: scale(1.15);
}

.settings-color-picker-row {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--bg-tertiary);
  border-radius: 10px;
}

.settings-color-picker-label {
  font-size: 13px;
  color: var(--text-secondary);
}

.settings-color-picker {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  background: transparent;
  padding: 0;
}

.settings-color-picker::-webkit-color-swatch-wrapper {
  padding: 0;
}

.settings-color-picker::-webkit-color-swatch {
  border-radius: 50%;
  border: 2px solid var(--border-color);
}

.settings-data-actions {
  display: flex;
  gap: 12px;
}

.settings-action-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.settings-action-btn:hover {
  background: var(--border-color);
}

.settings-action-icon {
  font-size: 18px;
}

/* 日历视图 */
.todos-calendar {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 12px var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.calendar-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.calendar-nav-btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border-color);
  background: var(--bg-tertiary);
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text-secondary);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-nav-btn:hover {
  background: var(--border-color);
  color: var(--text-primary);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 16px;
}

.calendar-weekday {
  text-align: center;
  padding: 8px 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.calendar-day {
  min-height: 56px;
  padding: 6px 4px;
  border-radius: 10px;
  background: var(--bg-tertiary);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.calendar-day:hover {
  background: var(--border-color);
  transform: translateY(-1px);
}

.calendar-day.empty {
  background: transparent;
  cursor: default;
}

.calendar-day.empty:hover {
  transform: none;
}

.calendar-day.today {
  background: rgba(var(--theme-rgb), 0.12);
  border-color: var(--theme-primary);
}

.calendar-day.today .calendar-day-number {
  color: var(--theme-primary);
  font-weight: 700;
}

.calendar-day.has-todos {
  border-color: rgba(var(--theme-rgb), 0.5);
}

.calendar-day.selected {
  background: var(--theme-primary) !important;
  border-color: var(--theme-primary) !important;
  box-shadow: 0 2px 8px rgba(var(--theme-rgb), 0.3);
}

.calendar-day.selected .calendar-day-number {
  color: #ffffff;
}

.calendar-day.selected .calendar-day-badge {
  background: #ffffff;
  color: var(--theme-primary);
}

.calendar-day-number {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 2px;
  display: block;
  font-weight: 500;
}

.calendar-day-badge {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--theme-primary);
  color: #ffffff;
  border-radius: 9px;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  line-height: 1;
}

/* 选中日期的待办列表 */
.calendar-day-todos-list {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--divider-color);
}

.calendar-day-todos-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(var(--theme-rgb), 0.08);
  border-radius: 10px;
  margin-bottom: 12px;
}

.calendar-day-todos-date {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.calendar-day-todos-count {
  font-size: 12px;
  color: var(--theme-primary);
  font-weight: 600;
  background: var(--card-bg);
  padding: 3px 10px;
  border-radius: 10px;
}

.calendar-todos-hint,
.calendar-todos-empty {
  text-align: center;
  padding: 20px 16px;
  color: var(--text-muted);
  font-size: 13px;
  background: var(--bg-tertiary);
  border-radius: 10px;
  border: 1px dashed var(--border-color);
}

/* 筛选栏 */
.todos-filter-bar {
  padding: 14px 0;
  margin-top: 8px;
  border-top: 1px solid var(--divider-color);
}

.todos-filter-categories {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.todos-filter-categories::-webkit-scrollbar {
  display: none;
}

.todos-filter-btn {
  flex-shrink: 0;
  padding: 8px 14px;
  border: 1px solid var(--border-color);
  background: var(--bg-tertiary);
  border-radius: 18px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.todos-filter-btn:hover {
  background: var(--border-color);
}

.todos-filter-btn.active {
  background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
  color: #ffffff;
  border-color: transparent;
}

/* 待办项 */
.todo-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--card-bg);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 8px;
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
}

.todo-item.priority-item {
  background: linear-gradient(135deg, #fff9e6 0%, #fffbe0 100%);
  border-color: rgba(251, 191, 36, 0.3);
  box-shadow: 0 2px 8px rgba(251, 191, 36, 0.08);
}

.todo-item.completed {
  opacity: 0.6;
}

.todo-item.completed .todo-text {
  text-decoration: line-through;
}

.todo-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--theme-primary);
  flex-shrink: 0;
}

.todo-item .todo-content {
  flex: 1;
  min-width: 0;
}

.todo-item .todo-text {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
}

.todo-item .todo-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.todo-priority,
.todo-category,
.todo-due-date {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 8px;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
}

.todo-priority {
  background: rgba(251, 191, 36, 0.15);
  color: #d97706;
}

.todo-category {
  background: rgba(var(--theme-rgb), 0.1);
  color: var(--theme-primary);
}

.todo-item .todo-notes-display {
  font-size: 12px;
  color: var(--text-secondary);
  background: var(--bg-tertiary);
  padding: 8px 10px;
  border-radius: 8px;
  margin-top: 6px;
  line-height: 1.5;
}

.todo-delete {
  padding: 6px 12px;
  border: 1px solid var(--border-color);
  background: var(--bg-tertiary);
  border-radius: 8px;
  font-size: 12px;
  cursor: pointer;
  color: var(--text-secondary);
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.todo-delete:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.2);
}

/* 备忘录详情 */
.detail-title {
  font-size: 22px;
  color: var(--text-primary);
  margin-bottom: 12px;
  font-weight: 700;
}

.detail-content {
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.8;
  margin-bottom: 16px;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  padding-right: 8px;
}

.detail-content blockquote {
  margin: 12px 0;
  padding: 12px 16px;
  border-left: 4px solid var(--theme-primary);
  background: var(--bg-tertiary);
  border-radius: 0 8px 8px 0;
  color: var(--text-secondary);
  font-style: italic;
}

.detail-content strong { font-weight: 700; }
.detail-content em { font-style: italic; }
.detail-content u { text-decoration: underline; }

.detail-date {
  font-size: 13px;
  color: var(--text-muted);
  padding-top: 12px;
  border-top: 1px solid var(--divider-color);
}

/* 移动端优化 */
@media (max-width: 768px) {
  body {
    padding: 10px;
    padding-bottom: 100px;
  }

  .app-container {
    border-radius: 12px;
    max-width: none;
    width: 100%;
  }

  .app-content {
    padding: 12px;
  }

  .search-bar {
    padding: 12px 12px 0;
  }

  .search-results {
    padding: 12px;
  }

  .search-input {
    font-size: 14px;
    padding: 10px 42px 10px 40px;
  }

  .memo-card {
    padding: 16px;
    border-radius: 12px;
  }

  /* 底部导航移动端 - 导航+按钮等宽 */
  .bottom-nav {
    bottom: 16px;
    left: 16px;
    right: 16px;
    transform: none;
    justify-content: space-between;
    gap: 10px;
    width: calc(100% - 32px);
  }

  .bottom-nav-group {
    flex: 1;
    padding: 4px;
    border-radius: 28px;
    gap: 2px;
    justify-content: space-around;
    display: flex;
  }

  .bottom-nav-btn {
    min-width: 0;
    height: 52px;
    padding: 0 6px;
    border-radius: 22px;
    flex: 1;
  }

  .bottom-nav-icon {
    font-size: 18px;
  }

  .bottom-nav-icon svg {
    width: 20px;
    height: 20px;
  }

  .bottom-nav-text {
    font-size: 10px;
    margin-top: 1px;
  }

  .bottom-nav-add {
    width: 56px;
    height: 56px;
    border-radius: 50% !important;
    border-width: 3px;
    flex-shrink: 0;
  }

  .bottom-nav-add-icon svg {
    width: 22px;
    height: 22px;
  }

  /* 新建菜单弹窗 - 移动端居中显示 */
  .create-modal-content.from-bottom {
    width: calc(100% - 24px);
    max-width: 400px;
    border-radius: 20px;
    margin: 0;
    animation: modalCenterInEnhanced 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  /* 编辑器 */
  .editor-wrapper {
    border-radius: 12px;
    max-width: none;
    width: 100%;
  }

  .editor-page {
    padding: 12px;
  }

  .editor-header {
    padding: 12px 16px;
  }

  .editor-content {
    padding: 16px;
  }

  .editor-title-input {
    font-size: 18px;
  }

  .editor-toolbar {
    padding: 8px 10px;
    border-radius: 10px;
  }

  .toolbar-btn {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  /* 日历 */
  .calendar-day {
    min-height: 42px;
    padding: 2px;
  }

  .calendar-day-number {
    font-size: 11px;
  }

  .calendar-day-badge {
    font-size: 8px;
    height: 12px;
    min-width: 12px;
  }

  /* 筛选 */
  .todos-filter-btn {
    padding: 6px 10px;
    font-size: 12px;
  }

  /* 待办 */
  .todo-item {
    padding: 10px 12px;
    gap: 10px;
  }

  /* 设置页面 */
  .settings-page {
    padding: 16px;
    border-radius: 12px;
  }

  /* 弹窗 - 移动端从中间弹出 */
  .modal {
    padding: 12px;
    align-items: center;
    justify-content: center;
  }

  .modal.active {
    align-items: center;
    justify-content: center;
  }

  .modal-content {
    max-width: 440px;
    width: calc(100% - 24px);
    margin: 0;
    border-radius: 20px;
    max-height: 85vh;
    animation: modalInEnhanced 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .modal-content.memo-detail-modal {
    max-width: calc(100% - 24px);
  }

  .modal-content.password-modal,
  .modal-content.login-modal {
    max-width: calc(100% - 24px);
  }

  .modal-header {
    padding: 16px 16px 12px;
  }

  .modal-header h2 {
    font-size: 16px;
  }

  .modal-body {
    padding: 16px;
  }

  .detail-content {
    max-height: calc(100vh - 280px);
    padding-right: 4px;
  }

  .modal-footer {
    padding: 14px 16px 16px;
    gap: 10px;
  }

  .btn-primary,
  .btn-secondary,
  .btn-danger {
    padding: 12px 16px;
    font-size: 14px;
  }

  .todo-category-item {
    padding: 6px 10px;
    font-size: 12px;
  }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
  .memo-card:hover,
  .todo-item:hover {
    transform: none;
    box-shadow: 0 2px 12px var(--shadow-sm);
  }

  .bottom-nav-add:hover {
    transform: scale(1.08);
  }

  .create-modal-btn:hover {
    transform: none;
    background: var(--bg-tertiary);
    border-color: var(--border-color);
  }
}

/* 归档页面 */
.archived-page {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 12px var(--shadow-sm);
}

.archived-page-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--divider-color);
}

.archived-page-header h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.archived-section {
  margin-bottom: 24px;
}

.archived-section:last-child {
  margin-bottom: 0;
}

.archived-section-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--divider-color);
}

.archived-memos-grid,
.archived-todos-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.archived-card {
  background: var(--bg-tertiary);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
}

.archived-card:hover {
  box-shadow: 0 2px 8px var(--shadow-sm);
}

.archived-card h3 {
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 6px;
  font-weight: 600;
}

.archived-content-preview {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
}

.archived-todo-content {
  margin-bottom: 8px;
}

.archived-todo-text {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
}

.archived-todo-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.todo-completed-badge {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
}

.archived-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid var(--divider-color);
}

.archived-date {
  font-size: 12px;
  color: var(--text-muted);
}

.archived-actions {
  display: flex;
  gap: 8px;
}

.archived-btn {
  padding: 6px 12px;
  border: 1px solid var(--border-color);
  background: var(--bg-tertiary);
  border-radius: 8px;
  font-size: 12px;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.archived-btn:hover {
  background: var(--border-color);
}

.archived-btn.restore:hover {
  background: rgba(var(--theme-rgb), 0.15);
  color: var(--theme-primary);
  border-color: var(--theme-primary);
}

.archived-btn.delete:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.2);
}

/* 归档按钮样式 */
.detail-action-btn.archive:hover {
  background: rgba(var(--theme-rgb), 0.15);
  border-color: var(--theme-primary);
  color: var(--theme-primary);
}

/* 登录弹窗样式 */
.login-modal {
  max-width: 360px;
}

.login-error {
  text-align: center;
}

/* 设置页面密码行 */
.settings-password-row {
  display: flex;
  gap: 12px;
}

/* 弹窗美化 - 添加渐变和阴影效果 */
.modal-content {
  background: var(--modal-bg-color, var(--card-bg));
  border-radius: 24px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: modalInEnhanced 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
}

@keyframes modalInEnhanced {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* 备忘录详情弹窗加宽 */
.modal-content.memo-detail-modal {
  max-width: 900px;
}

.modal-content.password-modal,
.modal-content.login-modal {
  max-width: 400px;
}

/* 弹窗头部美化 */
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 16px;
  border-bottom: 1px solid rgba(var(--theme-rgb), 0.1);
  flex-shrink: 0;
  background: linear-gradient(180deg, rgba(var(--theme-rgb), 0.05) 0%, transparent 100%);
}

.modal-header h2 {
  font-size: 20px;
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* 弹窗主体美化 */
.modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
  background: var(--modal-bg-color, var(--card-bg));
}

/* 弹窗底部美化 */
.modal-footer {
  display: flex;
  gap: 12px;
  padding: 20px 24px 24px;
  border-top: 1px solid rgba(var(--theme-rgb), 0.1);
  flex-shrink: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(var(--theme-rgb), 0.03) 100%);
}

/* 按钮美化 */
.btn-primary,
.btn-secondary,
.btn-danger {
  padding: 14px 24px;
  border: none;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex: 1;
  letter-spacing: -0.3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(var(--theme-rgb), 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--theme-rgb), 0.45);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--border-color);
  transform: translateY(-1px);
}

.btn-danger {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.btn-danger:hover {
  background: rgba(239, 68, 68, 0.2);
  transform: translateY(-1px);
}

/* 关闭按钮美化 */
.modal-close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-color);
  background: var(--bg-tertiary);
  border-radius: 12px;
  font-size: 20px;
  cursor: pointer;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #ef4444;
  transform: rotate(90deg);
}

/* 新建菜单弹窗美化 */
.create-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 440px;
  background: var(--card-bg);
  border-radius: 24px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1);
  animation: modalCenterInEnhanced 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes modalCenterInEnhanced {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.create-modal-header {
  padding: 20px 24px;
  text-align: center;
  border-bottom: 1px solid rgba(var(--theme-rgb), 0.1);
  background: linear-gradient(180deg, rgba(var(--theme-rgb), 0.05) 0%, transparent 100%);
}

.create-modal-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.create-modal-body {
  padding: 20px 24px;
}

.create-modal-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 16px 20px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin-bottom: 12px;
  text-align: left;
}

.create-modal-btn:last-child {
  margin-bottom: 0;
}

.create-modal-btn:hover {
  background: var(--card-hover);
  border-color: var(--theme-primary);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(var(--theme-rgb), 0.15);
}

.create-modal-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
  border-radius: 14px;
  font-size: 22px;
  flex-shrink: 0;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(var(--theme-rgb), 0.25);
}

.create-modal-btn:nth-child(2) .create-modal-icon {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.create-modal-label {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.create-modal-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.create-modal-sub {
  font-size: 13px;
  color: var(--text-muted);
}

.create-modal-arrow {
  font-size: 26px;
  color: var(--text-muted);
  font-weight: 300;
  transition: transform 0.2s ease;
}

.create-modal-btn:hover .create-modal-arrow {
  transform: translateX(4px);
  color: var(--theme-primary);
}

.create-modal-footer {
  padding: 20px 24px 24px;
  border-top: 1px solid rgba(var(--theme-rgb), 0.1);
  background: linear-gradient(180deg, transparent 0%, rgba(var(--theme-rgb), 0.03) 100%);
}

.create-modal-close {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--border-color);
  background: var(--bg-tertiary);
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  letter-spacing: -0.3px;
}

.create-modal-close:hover {
  background: var(--border-color);
  transform: translateY(-1px);
}
