/* 深色模式样式 - 全面覆盖版 */

/* 通配符强制覆盖 */
body.dark-mode,
body.dark-mode *,
body.dark-mode *::before,
body.dark-mode *::after {
    color: #e0e0e0 !important;
}

/* 链接保持蓝色 */
body.dark-mode a,
body.dark-mode a *,
body.dark-mode a::before,
body.dark-mode a::after {
    color: #818cf8 !important;
}

/* 全局背景 */
body.dark-mode {
    background: #1a1a1a !important;
}

/* 导航栏 - 覆盖所有可能的背景格式 */
body.dark-mode .navbar,
body.dark-mode [class*="nav"] {
    background: rgba(26, 26, 26, 0.95) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3) !important;
}

body.dark-mode .navbar *,
body.dark-mode [class*="nav"] * {
    background: transparent !important;
}

body.dark-mode .nav-logo,
body.dark-mode [class*="nav-logo"] {
    color: #818cf8 !important;
}

body.dark-mode .nav-links a,
body.dark-mode [class*="nav-link"] {
    color: #e0e0e0 !important;
}

body.dark-mode .nav-links a:hover,
body.dark-mode [class*="nav-link"]:hover {
    color: #818cf8 !important;
}

/* Hero区域 */
body.dark-mode .hero {
    background: transparent !important;
}

body.dark-mode .hero h1,
body.dark-mode .hero h1 *,
body.dark-mode .hero p,
body.dark-mode .hero p * {
    color: #ffffff !important;
}

/* Content区域 - About页 */
body.dark-mode .content {
    background: #2d2d2d !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5) !important;
}

body.dark-mode .content * {
    background: transparent !important;
}

/* Section - 所有section元素 */
body.dark-mode section,
body.dark-mode .section {
    background: #2d2d2d !important;
}

body.dark-mode .section-title,
body.dark-mode .section-title *,
body.dark-mode h2,
body.dark-mode h2 * {
    color: #ffffff !important;
}

/* 技能卡片 */
body.dark-mode .skill-card,
body.dark-mode .project-card,
body.dark-mode .card {
    background: #2d2d2d !important;
    border-color: #404040 !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5) !important;
}

body.dark-mode .skill-card *,
body.dark-mode .project-card *,
body.dark-mode .card * {
    background: transparent !important;
    border-color: #404040 !important;
}

/* 表单元素 */
body.dark-mode input,
body.dark-mode textarea,
body.dark-mode select {
    background: #2d2d2d !important;
    color: #e0e0e0 !important;
    border-color: #404040 !important;
}

body.dark-mode input *,
body.dark-mode textarea * {
    background: transparent !important;
    color: #e0e0e0 !important;
}

body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder {
    color: #999999 !important;
}

/* 按钮 */
body.dark-mode button,
body.dark-mode .button,
body.dark-mode input[type="submit"] {
    background: #818cf8 !important;
    color: #ffffff !important;
}

/* Newsletter表单 */
body.dark-mode .newsletter-form,
body.dark-mode .newsletter-input,
body.dark-mode .newsletter-button {
    background: #2d2d2d !important;
    color: #e0e0e0 !important;
    border-color: #404040 !important;
}

body.dark-mode .newsletter-button {
    background: #818cf8 !important;
    color: #ffffff !important;
}

/* 代码块 */
body.dark-mode code,
body.dark-mode pre {
    background: #2d2d2d !important;
    color: #e0e0e0 !important;
}

/* 徽章 */
body.dark-mode .badge {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #e0e0e0 !important;
}

/* 表格 */
body.dark-mode table {
    background: #2d2d2d !important;
    color: #e0e0e0 !important;
}

body.dark-mode th,
body.dark-mode td {
    border-color: #404040 !important;
    background: #2d2d2d !important;
    color: #e0e0e0 !important;
}

/* 列表 */
body.dark-mode ul,
body.dark-mode ol,
body.dark-mode li {
    background: transparent !important;
    color: #e0e0e0 !important;
}

/* Footer */
body.dark-mode .footer {
    background: rgba(26, 26, 26, 0.95) !important;
}

body.dark-mode .footer a {
    color: #818cf8 !important;
    border-bottom-color: #818cf8 !important;
}

body.dark-mode .footer a:hover {
    color: #818cf8 !important;
}

/* ICP信息 */
body.dark-mode .icp,
body.dark-mode .icp * {
    background: transparent !important;
    color: #e0e0e0 !important;
}

body.dark-mode .icp a {
    color: #818cf8 !important;
}

/* 覆盖所有rgba白色背景 */
body.dark-mode [style*="rgba(255, 255, 255"] {
    background: rgba(26, 26, 26, 0.95) !important;
}

/* 覆盖所有rgb白色背景 */
body.dark-mode [style*="rgb(255, 255, 255"] {
    background: rgb(26, 26, 26) !important;
}

/* 覆盖所有颜色名称 */
body.dark-mode [style*="white"],
body.dark-mode [style*="White"],
body.dark-mode [style*="WHITE"] {
    background: #2d2d2d !important;
    color: #e0e0e0 !important;
}

body.dark-mode [style*="black"],
body.dark-mode [style*="Black"],
body.dark-mode [style*="BLACK"] {
    background: #2d2d2d !important;
    color: #e0e0e0 !important;
}

/* 覆盖所有浅色十六进制 */
body.dark-mode [style*="#f"] {
    color: #e0e0e0 !important;
}

body.dark-mode [style*="background: #f"],
body.dark-mode [style*="background:#f"] {
    background: #2d2d2d !important;
}

/* 特定颜色值覆盖 */
body.dark-mode [style*="color: #333"],
body.dark-mode [style*="color: #666"],
body.dark-mode [style*="color: #999"],
body.dark-mode [style*="color:#333"],
body.dark-mode [style*="color:#666"],
body.dark-mode [style*="color:#999"] {
    color: #e0e0e0 !important;
}

/* 渐变背景覆盖 */
body.dark-mode [style*="gradient"] {
    background: #2d2d2d !important;
}

/* Avatar */
body.dark-mode .avatar,
body.dark-mode .avatar * {
    background: #2d2d2d !important;
    color: #e0e0e0 !important;
}

/* 强调文字 */
body.dark-mode strong,
body.dark-mode b,
body.dark-mode strong *,
body.dark-mode b * {
    color: #ffffff !important;
}

/* 面包屑导航 */
body.dark-mode .breadcrumb {
    background: rgba(26, 26, 26, 0.98) !important;
    border-bottom-color: #404040 !important;
}

body.dark-mode .breadcrumb-item {
    color: #818cf8 !important;
}

body.dark-mode .breadcrumb-item:hover {
    color: #a78bfa !important;
}

body.dark-mode .breadcrumb-separator {
    color: #999999 !important;
}

body.dark-mode .breadcrumb-current {
    color: #e0e0e0 !important;
}

/* 股票小部件深色模式 */
body.dark-mode .stock-widget {
    background: rgba(26, 26, 26, 0.3) !important;
}

body.dark-mode .stock-widget-title {
    color: #818cf8 !important;
}

body.dark-mode .stock-card {
    background: #2d2d2d !important;
    border-color: #404040 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
}

body.dark-mode .stock-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.5) !important;
}

body.dark-mode .stock-header {
    border-bottom-color: #404040 !important;
}

body.dark-mode .stock-name {
    color: #ffffff !important;
}

body.dark-mode .stock-code {
    background: #404040 !important;
    color: #e0e0e0 !important;
}

body.dark-mode .stock-price {
    background: #1a1a1a !important;
}

body.dark-mode .price-value {
    color: #ffffff !important;
}

body.dark-mode .detail-item {
    border-bottom-color: #404040 !important;
}

body.dark-mode .detail-label {
    color: #999999 !important;
}

body.dark-mode .detail-value {
    color: #e0e0e0 !important;
}

/* Share Buttons Container */
.share-container {
  margin: 2rem 0;
  padding: 1.5rem;
  border-radius: 8px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
}

.share-label {
  display: block;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  color: white;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

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

.share-icon {
  width: 20px;
  height: 20px;
}

/* Platform-specific colors */
.share-weixin {
  background: linear-gradient(135deg, #07c160 0%, #06ad56 100%);
}

.share-weibo {
  background: linear-gradient(135deg, #e6162d 0%, #d8151c 100%);
}

.share-twitter {
  background: linear-gradient(135deg, #1da1f2 0%, #0c85d0 100%);
}

.share-link {
  background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
}

/* Dark mode adjustments */
body.dark-mode .share-container {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .share-btn:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

/* Share Modal */
.share-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  animation: fadeIn 0.3s ease;
}

.share-modal-content {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  position: relative;
  animation: slideUp 0.3s ease;
}

.share-modal-content h3 {
  margin: 0 0 1rem 0;
  color: var(--text-color);
}

.share-modal-content p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.qrcode-placeholder img {
  max-width: 200px;
  height: auto;
  border-radius: 8px;
  border: 4px solid var(--border-color);
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  line-height: 32px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.close-modal:hover {
  background: var(--border-color);
  color: var(--text-color);
}

/* Share Toast */
.share-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--success-color, #10b981);
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 10001;
}

.share-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

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

@keyframes slideUp {
  from { 
    opacity: 0;
    transform: translateY(20px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .share-buttons {
    flex-direction: column;
  }
  
  .share-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Comments Section */
.comments-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.comments-title {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Comment Form */
.comment-form-wrapper {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid var(--border-color);
}

.comment-form .form-group {
  margin-bottom: 1rem;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 0.95rem;
  background: var(--input-bg, var(--card-bg));
  color: var(--text-color);
  transition: all 0.3s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--primary-color, #3b82f6);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.comment-form textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}

.char-count {
  text-align: right;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

.form-actions {
  display: flex;
  gap: 1rem;
}

.btn-submit,
.btn-cancel {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit {
  background: var(--primary-color, #3b82f6);
  color: white;
}

.btn-submit:hover {
  background: var(--primary-hover, #2563eb);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-cancel {
  background: var(--border-color);
  color: var(--text-color);
}

.btn-cancel:hover {
  background: var(--text-secondary);
}

/* Comments Sort */
.comments-sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.sort-btn {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: transparent;
  color: var(--text-color);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

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

.sort-btn.active {
  background: var(--primary-color, #3b82f6);
  color: white;
  border-color: var(--primary-color, #3b82f6);
}

/* Comments List */
.comments-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.no-comments {
  text-align: center;
  padding: 3rem;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.comment-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--card-bg);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.comment-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.comment-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.comment-content-wrapper {
  flex: 1;
  min-width: 0;
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.comment-author {
  font-weight: 600;
  color: var(--text-color);
  font-size: 1.05rem;
}

.comment-badge {
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.comment-badge.new {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
}

.comment-time {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.comment-body {
  color: var(--text-color);
  line-height: 1.7;
  margin-bottom: 1rem;
  word-wrap: break-word;
  white-space: pre-wrap;
}

.comment-actions {
  display: flex;
  gap: 0.75rem;
}

.like-btn,
.delete-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.like-btn:hover,
.delete-btn:hover {
  background: var(--border-color);
  color: var(--text-color);
}

.like-btn.liked {
  background: #fee2e2;
  color: #ef4444;
  border-color: #ef4444;
}

body.dark-mode .like-btn.liked {
  background: rgba(239, 68, 68, 0.2);
}

.like-icon,
.delete-icon {
  width: 18px;
  height: 18px;
}

/* Toast Notifications */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transform: translateX(400px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 10000;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-success {
  background: #10b981;
  color: white;
}

.toast-error {
  background: #ef4444;
  color: white;
}

.toast-info {
  background: #3b82f6;
  color: white;
}

/* Dark mode adjustments */
body.dark-mode .comment-form input,
body.dark-mode .comment-form textarea {
  background: rgba(255, 255, 255, 0.05);
}

body.dark-mode .comment-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .comment-form-wrapper {
    padding: 1rem;
  }
  
  .comment-item {
    padding: 1rem;
  }
  
  .comment-avatar {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .toast {
    right: 1rem;
    left: 1rem;
    bottom: 1rem;
  }
}

/* Todo Container */
.todo-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.todo-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.todo-header h2 {
  margin: 0;
  color: var(--text-color);
  font-size: 1.8rem;
}

.todo-stats {
  display: flex;
  gap: 1.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem 1.25rem;
  background: var(--card-bg);
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color, #3b82f6);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* Todo Add Form */
.todo-add-form {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

#todo-input {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 0.95rem;
  background: var(--input-bg, var(--card-bg));
  color: var(--text-color);
  transition: all 0.3s ease;
}

#todo-input:focus {
  outline: none;
  border-color: var(--primary-color, #3b82f6);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.priority-select {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 0.95rem;
  background: var(--input-bg, var(--card-bg));
  color: var(--text-color);
  cursor: pointer;
}

.btn-add-todo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--primary-color, #3b82f6);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-add-todo:hover {
  background: var(--primary-hover, #2563eb);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-add-todo svg {
  width: 18px;
  height: 18px;
}

/* Todo Filters */
.todo-filters {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: transparent;
  color: var(--text-color);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

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

.filter-btn.active {
  background: var(--primary-color, #3b82f6);
  color: white;
  border-color: var(--primary-color, #3b82f6);
}

/* Todo List */
.todo-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.empty-state {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--text-secondary);
}

.empty-state svg {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  opacity: 0.5;
}

.empty-state p {
  font-size: 1.1rem;
}

/* Todo Item */
.todo-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--card-bg);
  border-radius: 10px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.todo-item:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transform: translateX(4px);
}

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

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

.todo-item.priority-high {
  border-left: 4px solid #ef4444;
}

.todo-item.priority-medium {
  border-left: 4px solid #f59e0b;
}

.todo-item.priority-low {
  border-left: 4px solid #10b981;
}

.todo-select {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.todo-checkbox {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--primary-color, #3b82f6);
}

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

.todo-text {
  color: var(--text-color);
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
  word-wrap: break-word;
}

.todo-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.priority-badge {
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.priority-badge.priority-high {
  background: #fee2e2;
  color: #ef4444;
}

.priority-badge.priority-medium {
  background: #fef3c7;
  color: #f59e0b;
}

.priority-badge.priority-low {
  background: #d1fae5;
  color: #10b981;
}

body.dark-mode .priority-badge.priority-high {
  background: rgba(239, 68, 68, 0.2);
}

body.dark-mode .priority-badge.priority-medium {
  background: rgba(245, 158, 11, 0.2);
}

body.dark-mode .priority-badge.priority-low {
  background: rgba(16, 185, 129, 0.2);
}

.todo-date {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.todo-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-todo-edit,
.btn-todo-delete {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-todo-edit:hover,
.btn-todo-delete:hover {
  background: var(--border-color);
  color: var(--text-color);
}

.btn-todo-delete:hover {
  background: #fee2e2;
  color: #ef4444;
  border-color: #ef4444;
}

body.dark-mode .btn-todo-delete:hover {
  background: rgba(239, 68, 68, 0.2);
}

.btn-todo-edit svg,
.btn-todo-delete svg {
  width: 18px;
  height: 18px;
}

/* Bulk Actions */
.todo-bulk-actions {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  border: 1px solid var(--border-color);
  z-index: 1000;
  animation: slideUp 0.3s ease;
}

.selected-count {
  font-weight: 500;
  color: var(--text-color);
  white-space: nowrap;
}

.btn-bulk {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: transparent;
  color: var(--text-color);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

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

.btn-bulk.btn-danger {
  background: #ef4444;
  color: white;
  border-color: #ef4444;
}

.btn-bulk.btn-danger:hover {
  background: #dc2626;
}

/* Todo Toast */
.todo-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transform: translateX(400px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 10001;
}

.todo-toast.show {
  transform: translateX(0);
  opacity: 1;
}

.todo-toast-success {
  background: #10b981;
  color: white;
}

.todo-toast-error {
  background: #ef4444;
  color: white;
}

.todo-toast-info {
  background: #3b82f6;
  color: white;
}

/* Animations */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .todo-container {
    padding: 1rem;
  }
  
  .todo-header {
    flex-direction: column;
  }
  
  .todo-stats {
    width: 100%;
    justify-content: space-around;
  }
  
  .todo-add-form {
    flex-direction: column;
  }
  
  .btn-add-todo {
    width: 100%;
    justify-content: center;
  }
  
  .todo-bulk-actions {
    flex-wrap: wrap;
    justify-content: center;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    transform: none;
  }
  
  .todo-toast {
    right: 1rem;
    left: 1rem;
    bottom: 1rem;
  }
}
