/* 编辑任务模态框样式优化 */

/* 编辑任务模态框整体样式 */
#edit-task-modal {
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

#edit-task-modal .modal-content {
  max-width: 600px;
  width: 92%;
  margin: 30px auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  background: #fff;
  border: none;
}

/* 模态框标题栏 */
#edit-task-modal .modal-header {
  display: flex;
  align-items: center;
  padding: 20px 24px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

#edit-task-modal .modal-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #333;
  flex-grow: 1;
}

/* 顶部关闭按钮样式 */
#edit-task-modal .modal-header .close-modal {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0;
  position: relative;
}

#edit-task-modal .modal-header .close-modal::before,
#edit-task-modal .modal-header .close-modal::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 2px;
  background: #666;
  border-radius: 1px;
  transition: background 0.2s;
}

#edit-task-modal .modal-header .close-modal::before {
  transform: rotate(45deg);
}

#edit-task-modal .modal-header .close-modal::after {
  transform: rotate(-45deg);
}

#edit-task-modal .modal-header .close-modal:hover {
  background: rgba(0, 0, 0, 0.1);
  transform: rotate(90deg);
}

#edit-task-modal .modal-header .close-modal:hover::before,
#edit-task-modal .modal-header .close-modal:hover::after {
  background: #333;
}

/* 表单内容部分样式 */
#edit-task-modal .modal-body {
  padding: 20px 24px;
}

/* 底部按钮样式 */
#edit-task-modal .form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

#edit-task-modal .btn-primary {
  padding: 10px 20px;
  background: linear-gradient(to right, #4361ee, #3a0ca3);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
  box-shadow: 0 4px 6px rgba(67, 97, 238, 0.15);
}

#edit-task-modal .btn-primary:hover {
  background: linear-gradient(to right, #4895ef, #4361ee);
  box-shadow: 0 6px 8px rgba(67, 97, 238, 0.25);
  transform: translateY(-2px);
}

#edit-task-modal .btn-secondary {
  padding: 10px 20px;
  background: #f8f9fa;
  color: #495057;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
}

#edit-task-modal .btn-secondary:hover {
  background: #e9ecef;
  color: #212529;
}

/* 自定义滚动条 */
#edit-task-modal .modal-body::-webkit-scrollbar {
  width: 8px;
}

#edit-task-modal .modal-body::-webkit-scrollbar-track {
  background: #f1f3f5;
  border-radius: 4px;
}

#edit-task-modal .modal-body::-webkit-scrollbar-thumb {
  background: #ced4da;
  border-radius: 4px;
}

#edit-task-modal .modal-body::-webkit-scrollbar-thumb:hover {
  background: #adb5bd;
} 